aboutsummaryrefslogtreecommitdiff
path: root/www/mod_ntlm2
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_ntlm2')
-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 ed940a191ba9..7f240108f8aa 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 283b42c25698..c6e81a77bec5 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