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/mod_security/Makefile | |
parent | 9f89ab7bed88b47f3151c4c38f1fac222eb79141 (diff) |
Notes
Diffstat (limited to 'www/mod_security/Makefile')
-rw-r--r-- | www/mod_security/Makefile | 5 |
1 files changed, 4 insertions, 1 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) |