diff options
author | obache <obache@pkgsrc.org> | 2013-02-20 06:00:51 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-02-20 06:00:51 +0000 |
commit | 91779f591bb8836056165409cfd805d06856b593 (patch) | |
tree | 2c031492bef1193a73d5bcb2b9d15a105b549111 /mk | |
parent | 2ee4ffdd344ba0dbcfce629af888d0641e0b849e (diff) | |
download | pkgsrc-91779f591bb8836056165409cfd805d06856b593.tar.gz |
skip symbolic link for shlibs check, it may point to absolute path and currently
installed old version's file.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-shlibs.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/check/check-shlibs.mk b/mk/check/check-shlibs.mk index 6916202a0fc..e9ca17cd88b 100644 --- a/mk/check/check-shlibs.mk +++ b/mk/check/check-shlibs.mk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs.mk,v 1.21 2012/07/02 14:53:13 joerg Exp $ +# $NetBSD: check-shlibs.mk,v 1.22 2013/02/20 06:00:51 obache Exp $ # # This file verifies that all libraries used by the package can be found # at run-time. @@ -31,7 +31,10 @@ CHECK_SHLIBS_SUPPORTED?= yes # All binaries and shared libraries. _CHECK_SHLIBS_ERE= (bin/|sbin/|libexec/|\.so$$|lib/lib.*\.so|lib/lib.*\.dylib|lib/lib.*\.sl) -_CHECK_SHLIBS_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST} +_CHECK_SHLIBS_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST} | \ + (while read file; do \ + ${TEST} -h "$$file" || ${ECHO} "$$file"; \ + done) .if !empty(CHECK_SHLIBS:M[Yy][Ee][Ss]) && \ !empty(CHECK_SHLIBS_SUPPORTED:M[Yy][Ee][Ss]) |