diff options
author | ghen <ghen@pkgsrc.org> | 2008-01-04 11:42:29 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2008-01-04 11:42:29 +0000 |
commit | 861a9165d3afd135ca2c7e021c2750b70dfdb97f (patch) | |
tree | d35de1bcae78bfc79b41c1bfc2740db814b01a9d /databases/openldap | |
parent | 6251d9db5dab519bb502818c9237a614debbb15d (diff) | |
download | pkgsrc-861a9165d3afd135ca2c7e021c2750b70dfdb97f.tar.gz |
DESTDIR support for openldap.
Diffstat (limited to 'databases/openldap')
-rw-r--r-- | databases/openldap/Makefile | 4 | ||||
-rw-r--r-- | databases/openldap/Makefile.common | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile index d16255cb8db..bee18d6961b 100644 --- a/databases/openldap/Makefile +++ b/databases/openldap/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.122 2007/11/18 19:46:15 ghen Exp $ +# $NetBSD: Makefile,v 1.123 2008/01/04 11:42:29 ghen Exp $ DISTNAME= openldap-${OPENLDAP_VERSION} OPENLDAP_VERSION= 2.3.39 @@ -14,6 +14,8 @@ DEPENDS+= openldap-client>=${OPENLDAP_VERSION}:../../databases/openldap-client DEPENDS+= openldap-server>=${OPENLDAP_VERSION}:../../databases/openldap-server DEPENDS+= openldap-doc>=${OPENLDAP_VERSION}:../../databases/openldap-doc +PKG_DESTDIR_SUPPORT= user-destdir + EXTRACT_ONLY= # yes NO_CHECKSUM= yes NO_CONFIGURE= yes diff --git a/databases/openldap/Makefile.common b/databases/openldap/Makefile.common index 874174685a4..44fefa3d5cc 100644 --- a/databases/openldap/Makefile.common +++ b/databases/openldap/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2007/11/23 08:38:05 dsainty Exp $ +# $NetBSD: Makefile.common,v 1.13 2008/01/04 11:42:29 ghen Exp $ # please stick to the "stable" releases as much as possible! DISTNAME= openldap-2.3.39 @@ -113,6 +113,6 @@ INSTALL_MAKE_FLAGS= ${MAKE_FLAGS} sysconfdir=${EGDIR:Q} # Set the correct file modes for the example config files. post-install: .for file in ${CNFS} ${CNFS_PERMS} ${DB_CONFIG} - ${CHMOD} ${SHAREMODE} ${EGDIR}/${file:Q} - ${RM} -f ${EGDIR}/${file:Q}.default + ${CHMOD} ${SHAREMODE} ${DESTDIR}${EGDIR}/${file:Q} + ${RM} -f ${DESTDIR}${EGDIR}/${file:Q}.default .endfor |