diff options
author | obache <obache@pkgsrc.org> | 2013-03-07 13:15:29 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-03-07 13:15:29 +0000 |
commit | 5002c1900b4e9f6af12e585c01dce1b950fb4f06 (patch) | |
tree | 1cb729f42830b90698f1b35eb0dbc6b51af3b3b5 | |
parent | 97a13d87ea66e106bb13916150f7664bd12dc0ad (diff) | |
download | pkgsrc-5002c1900b4e9f6af12e585c01dce1b950fb4f06.tar.gz |
Temporary skip REQUIRE metadata collection for PE (Cygwin),
some DLL lead `ldd' command to hung up.
-rw-r--r-- | mk/pkgformat/pkg/metadata.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/pkgformat/pkg/metadata.mk b/mk/pkgformat/pkg/metadata.mk index 9732863af16..26c49111888 100644 --- a/mk/pkgformat/pkg/metadata.mk +++ b/mk/pkgformat/pkg/metadata.mk @@ -1,4 +1,4 @@ -# $NetBSD: metadata.mk,v 1.4 2013/02/10 12:07:50 obache Exp $ +# $NetBSD: metadata.mk,v 1.5 2013/03/07 13:15:29 obache Exp $ ###################################################################### ### The targets below are all PRIVATE. @@ -86,7 +86,7 @@ ${_BUILD_INFO_FILE}: plist PE) \ libs=`${AWK} '/\/.+\.dll$$/ { print "${DESTDIR}${PREFIX}/" $$0 } END { exit 0 }' ${_PLIST_NOKEYWORDS}`; \ if ${TEST} -n "$$bins" -o -n "$$libs"; then \ - requires=`(${PKGSRC_SETENV} ${LDD_ENV:U} $$ldd $$bins $$libs 2>/dev/null || ${TRUE}) | ${AWK} '$$2 == "=>" && $$3 ~ "/" { print $$3 }' | ${SED} -e 's,^${DESTDIR},,' | ${SORT} -u`; \ + requires=`(${TRUE} || ${PKGSRC_SETENV} ${LDD_ENV:U} $$ldd $$bins $$libs 2>/dev/null || ${TRUE}) | ${AWK} '$$2 == "=>" && $$3 ~ "/" { print $$3 }' | ${SED} -e 's,^${DESTDIR},,' | ${SORT} -u`; \ fi; \ linklibs=`${AWK} '/.+\.dll$$/ { print "${DESTDIR}${PREFIX}/" $$0 }' ${_PLIST_NOKEYWORDS}`; \ for i in $$linklibs; do \ |