aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-10-28 00:20:43 +0800
committerwxs <wxs@FreeBSD.org>2008-10-28 00:20:43 +0800
commit6de3a26216f28f4688cd6e1b4c9af844436ebf0b (patch)
treee66fcfc08fed03521e9800761bc75f1f6442cf2d
parent1220e8ccf66c02390cab5e304fbf9459651902ea (diff)
downloadfreebsd-ports-graphics-6de3a26216f28f4688cd6e1b4c9af844436ebf0b.tar.gz
freebsd-ports-graphics-6de3a26216f28f4688cd6e1b4c9af844436ebf0b.tar.zst
freebsd-ports-graphics-6de3a26216f28f4688cd6e1b4c9af844436ebf0b.zip
Fix plist when Apache 2.2 is used.
PR: ports/128404 Submitted by: Dima Panov <fluffy@fluffy.khv.ru> Approved by: Alex Keda <admin@lissyara.su> (maintainer)
-rw-r--r--www/mod_ntlm2/Makefile5
-rw-r--r--www/mod_ntlm2/pkg-plist2
2 files changed, 3 insertions, 4 deletions
diff --git a/www/mod_ntlm2/Makefile b/www/mod_ntlm2/Makefile
index ed940a191ba..7f240108f8a 100644
--- a/www/mod_ntlm2/Makefile
+++ b/www/mod_ntlm2/Makefile
@@ -18,9 +18,8 @@ COMMENT= NTLM authentication module for the Apache2 webserver
USE_APACHE= 20+
MAKE_ENV= APXS=${APXS}
+SUB_LIST= APACHEMODDIR=${APACHEMODDIR}
BUILD_DEPENDS= ${LOCALBASE}/bin/smbclient:${PORTSDIR}/net/samba3
-.include <bsd.port.pre.mk>
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_ntlm2/pkg-plist b/www/mod_ntlm2/pkg-plist
index 283b42c2569..c6e81a77bec 100644
--- a/www/mod_ntlm2/pkg-plist
+++ b/www/mod_ntlm2/pkg-plist
@@ -1,3 +1,3 @@
-libexec/apache2/mod_ntlm.so
+%%APACHEMODDIR%%/mod_ntlm.so
@exec %D/sbin/apxs -e -A -n ntlm %D/%f
@unexec %D/sbin/apxs -e -A -n ntlm %D/%F