Date: Tue, 30 Jun 2015 19:54:23 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390989 - head/Mk/Scripts Message-ID: <201506301954.t5UJsNIw091841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Jun 30 19:54:23 2015 New Revision: 390989 URL: https://svnweb.freebsd.org/changeset/ports/390989 Log: Add PATH environment when trying to find libraries this fixes building under qemu emulation Reported by: Sylvain Garrigues (via #poudriere) Tested by: Sylvain Garrigues (via #poudriere) Modified: head/Mk/Scripts/do-depends.sh Modified: head/Mk/Scripts/do-depends.sh ============================================================================== --- head/Mk/Scripts/do-depends.sh Tue Jun 30 19:40:04 2015 (r390988) +++ head/Mk/Scripts/do-depends.sh Tue Jun 30 19:54:23 2015 (r390989) @@ -94,7 +94,7 @@ find_file_path() find_lib() { echo -n "===> ${dp_PKGNAME} depends on shared library: $1" - libfile=$(env -i LIB_DIRS="${dp_LIB_DIRS}" LOCALBASE="${dp_LOCALBASE}" ${dp_SH} ${dp_SCRIPTSDIR}/find-lib.sh $1) + libfile=$(env -i PATH="${PATH}" LIB_DIRS="${dp_LIB_DIRS}" LOCALBASE="${dp_LOCALBASE}" ${dp_SH} ${dp_SCRIPTSDIR}/find-lib.sh $1) if [ -z "${libfile}" ]; then echo " - not found" return 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506301954.t5UJsNIw091841>