diff options
author | jim-p <jimp@pfsense.org> | 2012-06-23 13:25:03 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-06-23 13:25:03 -0400 |
commit | 4593069602bd09ae183f1052cc117e54066bfd0b (patch) | |
tree | 97dd184e4e5e6375a3834f5b244128e7e7e050b7 /etc/inc/pkg-utils.inc | |
parent | ea89b8dfd2f846121cc840db4ac1fff2ea408f84 (diff) | |
download | pfsense-4593069602bd09ae183f1052cc117e54066bfd0b.zip pfsense-4593069602bd09ae183f1052cc117e54066bfd0b.tar.gz |
Setup library paths to include /usr/pbi/*/lib as a last resort to make sure things can find libraries. We may eventually replace this with a better method as this can lead to conflicts, but for now it will allow packages to find their proper libraries.
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r-- | etc/inc/pkg-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index bb3e483..23e4fb5 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -550,7 +550,7 @@ function pkg_fetch_recursive($pkgname, $filename, $dependlevel = 0, $base_url = exec("/usr/local/sbin/pbi_add {$pkgstaging} -f -v --no-checksig {$fetchto} 2>&1", $pkgaddout); pkg_debug($pkgname . " " . print_r($pkgaddout, true) . "\npbi_add successfully completed.\n"); - + setup_library_paths(); exec("/usr/local/sbin/pbi_info " . preg_replace('/\.pbi$/','',$filename) . " | /usr/bin/awk '/Prefix/ {print $2}'",$pbidir); $pbidir = $pbidir[0]; $linkdirs = array('bin','sbin'); |