diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-06-06 12:43:14 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-06-06 12:43:14 +0000 |
commit | 0f4e91f73a453057066489514228f73f0a6155b7 (patch) | |
tree | 67f1b866a43fe771b819d49b51e718322614fe9e /www | |
parent | New port: puff (text editor) (very easy port) (diff) |
Apache2 has .la, apache13 has .so
Noticed by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes:
svn path=/head/; revision=82358
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_security/Makefile | 5 | ||||
-rw-r--r-- | www/mod_security/pkg-plist | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/www/mod_security/Makefile b/www/mod_security/Makefile index a46df01cff80..6ca88fdfdfcc 100644 --- a/www/mod_security/Makefile +++ b/www/mod_security/Makefile @@ -26,11 +26,14 @@ APXS?= ${LOCALBASE}/sbin/apxs APACHE_PORT?= ${PORTSDIR}/www/apache2 APWRKSRC?= ${WRKSRC}/apache2 PLIST_SUB= APACHE=apache2 +SO= la .else APACHE_PORT?= ${PORTSDIR}/www/apache13 APWRKSRC?= ${WRKSRC}/apache1 PLIST_SUB= APACHE=apache +SO= so .endif +PLIST_SUB+= SO=${SO} BUILD_DEPENDS+= ${APXS}:${APACHE_PORT} RUN_DEPENDS+= ${APXS}:${APACHE_PORT} @@ -41,7 +44,7 @@ do-build: @cd ${APWRKSRC} && ${APXS} -c mod_security.c do-install: - ${APXS} -i -a -n security ${APWRKSRC}/mod_security.so + ${APXS} -i -a -n security ${APWRKSRC}/mod_security.${SO} @${MKDIR} ${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/httpd.conf.example-* ${EXAMPLESDIR} .if !defined(NOPORTDOCS) diff --git a/www/mod_security/pkg-plist b/www/mod_security/pkg-plist index 16d43e24a148..69d33f8da497 100644 --- a/www/mod_security/pkg-plist +++ b/www/mod_security/pkg-plist @@ -1,4 +1,4 @@ -libexec/%%APACHE%%/mod_security.so +libexec/%%APACHE%%/mod_security.%%SO%% @exec %D/sbin/apxs -e -a -n security %D/%F @unexec %D/sbin/apxs -e -A -n security %D/%F %%PORTDOCS%%share/doc/mod_security/CHANGES |