summaryrefslogtreecommitdiff
path: root/databases/openldap/Makefile.common
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/Makefile.common
parent2137b5024e5b13450223b90dcc876e44d696617c (diff)
downloadpkgsrc-2f8d54a5af6adb97bdcbe73f723ab03d1bfd62f6.tar.gz
DESTDIR support for openldap.
Diffstat (limited to 'databases/openldap/Makefile.common')
-rw-r--r--databases/openldap/Makefile.common6
1 files changed, 3 insertions, 3 deletions
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