diff options
author | joerg <joerg> | 2010-02-16 17:36:07 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-16 17:36:07 +0000 |
commit | c2997598c4a02ddbfacb057f70e2909ee1d8fb49 (patch) | |
tree | a9088e64d32491c944832fe531fda632b660c655 /www/ap2-auth-ldap/Makefile | |
parent | 3373df411e2d4490c519cd312bae7770431f767b (diff) | |
download | pkgsrc-c2997598c4a02ddbfacb057f70e2909ee1d8fb49.tar.gz |
DESTDIR support
Diffstat (limited to 'www/ap2-auth-ldap/Makefile')
-rw-r--r-- | www/ap2-auth-ldap/Makefile | 10 |
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" |