aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-06-06 20:43:14 +0800
committeredwin <edwin@FreeBSD.org>2003-06-06 20:43:14 +0800
commite7dc6cadedef38ad0da7a4fd38176243d4d636fc (patch)
tree0e3bc80bc71a05922b21fbb1a203e562c8f97a00 /www
parent5f6ae9d6d7ace1008f7e3e9fa38a4fa82f6b9123 (diff)
downloadfreebsd-ports-gnome-e7dc6cadedef38ad0da7a4fd38176243d4d636fc.tar.gz
freebsd-ports-gnome-e7dc6cadedef38ad0da7a4fd38176243d4d636fc.tar.zst
freebsd-ports-gnome-e7dc6cadedef38ad0da7a4fd38176243d4d636fc.zip
Apache2 has .la, apache13 has .so
Noticed by: Alex Dupre <sysadmin@alexdupre.com>
Diffstat (limited to 'www')
-rw-r--r--www/mod_security/Makefile5
-rw-r--r--www/mod_security/pkg-plist2
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