summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authorghen <ghen>2008-01-04 11:42:29 +0000
committerghen <ghen>2008-01-04 11:42:29 +0000
commit2f8d54a5af6adb97bdcbe73f723ab03d1bfd62f6 (patch)
treed35de1bcae78bfc79b41c1bfc2740db814b01a9d /databases/openldap
parent2137b5024e5b13450223b90dcc876e44d696617c (diff)
downloadpkgsrc-2f8d54a5af6adb97bdcbe73f723ab03d1bfd62f6.tar.gz
DESTDIR support for openldap.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile4
-rw-r--r--databases/openldap/Makefile.common6
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