summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2013-10-18 11:41:17 +0000
committerbsiegert <bsiegert>2013-10-18 11:41:17 +0000
commitbea9e183721e9758b0e996736d15a1c67e4a2f14 (patch)
tree083a32de7285989cb2f223c037c007d9001e8881 /security
parent048463f8ea8c6474290f42e63dd5c61874ec84e0 (diff)
downloadpkgsrc-bea9e183721e9758b0e996736d15a1c67e4a2f14.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 'security')
-rw-r--r--security/base/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/base/Makefile b/security/base/Makefile
index f9ed839ab3c..9bc300f53c9 100644
--- a/security/base/Makefile
+++ b/security/base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2013/05/31 12:41:50 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2013/10/18 11:41:18 bsiegert Exp $
#
DISTNAME= base-1.4.3.1
@@ -82,6 +82,7 @@ do-install:
. endfor
. for i in ${PAX_DIRS}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${BASE_DIR}/${i:Q}
cd ${WRKSRC}/${i:Q} && pax -rw . ${DESTDIR}${BASE_DIR}/${i:Q}
. endfor