summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/ap2-auth-ldap/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/ap2-auth-ldap/Makefile b/www/ap2-auth-ldap/Makefile
index f6d5692425d..cc34fa47d9b 100644
--- a/www/ap2-auth-ldap/Makefile
+++ b/www/ap2-auth-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2010/01/17 12:02:48 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2010/02/16 17:36:07 joerg Exp $
DISTNAME= mod_auth_ldap3.05
PKGNAME= ap2-auth-ldap-3.05
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= ${MASTER_SITES}/mod_auth_ldap.html
COMMENT= Module to allow apache2 authentication against an LDAP directory
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
APACHE_MODULE= YES
APACHE_MODULE_NAME= mm_auth_ldap_module
@@ -33,8 +35,12 @@ SUBST_SED.paths= -e "s|@@HASHLIB@@|${PREFIX}/include|g" \
-e "s|@@HASHINC@@|${PREFIX}/lib|g"
SUBST_MESSAGE.paths= Fixing hardcoded paths.
+INSTALLATION_DIRS+= lib/httpd
+
do-install:
- cd ${WRKSRC} && ${APXS} -i -n ${APACHE_MODULE_NAME} mod_auth_ldap.la
+ ${PREFIX}/share/httpd/build/instdso.sh \
+ SH_LIBTOOL=${PREFIX}/share/httpd/build/libtool \
+ ${WRKSRC}/mod_auth_ldap.la ${DESTDIR}${PREFIX}/lib/httpd
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"