summaryrefslogtreecommitdiff
path: root/databases/phpldapadmin
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2013-10-18 11:41:17 +0000
committerbsiegert <bsiegert>2013-10-18 11:41:17 +0000
commitff9ec0a1790d6ef065c563072f25d2badc619d6a (patch)
tree083a32de7285989cb2f223c037c007d9001e8881 /databases/phpldapadmin
parent060ea7648fa797e487b8d88073f4419e780de182 (diff)
downloadpkgsrc-ff9ec0a1790d6ef065c563072f25d2badc619d6a.tar.gz
Fix a common mistake in many different packages: POSIX says that when using
pax -rw, the destination directory must exist. pax in NetBSD creates it if not, pax in MirBSD complains. I read through all pkgsrc Makefiles that use pax and added an entry to INSTALLATION_DIRS, or an INSTALL_DATA_DIR invocation. I did not test all the changes but they should be fairly safe. If you notice any breakage because of this change, please contact me.
Diffstat (limited to 'databases/phpldapadmin')
-rw-r--r--databases/phpldapadmin/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/phpldapadmin/Makefile b/databases/phpldapadmin/Makefile
index acaf2a37533..37c4ec02ea4 100644
--- a/databases/phpldapadmin/Makefile
+++ b/databases/phpldapadmin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2013/04/02 16:00:10 taca Exp $
+# $NetBSD: Makefile,v 1.37 2013/10/18 11:41:17 bsiegert Exp $
DISTNAME= phpldapadmin-${VERSION}
CATEGORIES= databases www
@@ -48,6 +48,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/index.php \
${DESTDIR}${PREFIX}/share/phpldapadmin
.for i in ${PAX_DIRS}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/phpldapadmin/${i:Q}
cd ${WRKSRC}/${i:Q} && ${FIND} . -type f \! -name '*.orig' -print | \
pax -rwppm ${DESTDIR}${PREFIX}/share/phpldapadmin/${i:Q}
.endfor