summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-30 19:54:23 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-30 19:54:23 +0000
commitab8c1339c4c462f4f34bf6de881adc42a406bd9e (patch)
tree50777d58fe4d9eeea753c18e959184e8541081ea /Mk
parenttextproc/p5-YAML-Shell: Update to 0.69 (diff)
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)
Notes
Notes: svn path=/head/; revision=390989
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/do-depends.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/do-depends.sh b/Mk/Scripts/do-depends.sh
index 39805bdceec6..b3f3fb097d67 100644
--- a/Mk/Scripts/do-depends.sh
+++ b/Mk/Scripts/do-depends.sh
@@ -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