Temporary skip REQUIRE metadata collection for PE (Cygwin),

some DLL lead `ldd' command to hung up.
This commit is contained in:
obache 2013-03-07 13:15:29 +00:00
parent 97a13d87ea
commit 5002c1900b

View file

@ -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 \