summaryrefslogtreecommitdiff
path: root/mk/pkgformat
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-03-02 07:18:36 +0000
committerobache <obache@pkgsrc.org>2014-03-02 07:18:36 +0000
commita6cb3e7587f3f142ee2410f413d9fd460999cc15 (patch)
tree4eaca8f1f2b1f4ffd19ccca21d56a0b50063782d /mk/pkgformat
parentbeaa2322737242f196f6072b9c98cb0e07810623 (diff)
downloadpkgsrc-a6cb3e7587f3f142ee2410f413d9fd460999cc15.tar.gz
Skip automatic shlib permission fix for files in CHECK_SHLIBS_SKIP.
Diffstat (limited to 'mk/pkgformat')
-rw-r--r--mk/pkgformat/pkg/metadata.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/pkgformat/pkg/metadata.mk b/mk/pkgformat/pkg/metadata.mk
index 30e91a58c99..f894ab7d215 100644
--- a/mk/pkgformat/pkg/metadata.mk
+++ b/mk/pkgformat/pkg/metadata.mk
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.7 2013/08/10 06:03:37 obache Exp $
+# $NetBSD: metadata.mk,v 1.8 2014/03/02 07:18:36 obache Exp $
######################################################################
### The targets below are all PRIVATE.
@@ -70,6 +70,10 @@ ${_BUILD_INFO_FILE}: ${_PLIST_NOKEYWORDS}
fi; \
linklibs=`${AWK} '/.*\.so(\.[0-9]+)*$$/ { print "${DESTDIR}${PREFIX}/" $$0 }' ${_PLIST_NOKEYWORDS}`; \
for i in $$linklibs; do \
+ case "$$i" in \
+ ${CHECK_SHLIBS_SKIP:U:@p@${DESTDIR}${PREFIX}/${p}) continue ;;@} \
+ *);; \
+ esac; \
if ${TEST} -r $$i -a ! -x $$i -a ! -h $$i; then \
${TEST} ${PKG_DEVELOPER:Uno:Q}"" = "no" || \
${ECHO} "$$i: installed without execute permission; fixing (should use [BSD_]INSTALL_LIB)"; \