From 206a4e1485d3f083ab140b45f9e4d62b28c283a6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Oct 2008 00:55:51 +0200 Subject: [PATCH] Don't forget to unset base_package and add another pattern to fixup_la_files. --HG-- extra : convert_revision : f5ea720e905e7a1512560fb764a771f9641054b5 --- xbps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xbps.sh b/xbps.sh index afe425415bd..95c8e0b61bc 100755 --- a/xbps.sh +++ b/xbps.sh @@ -209,7 +209,7 @@ reset_tmpl_vars() local TMPL_VARS="pkgname distfiles configure_args configure_env \ make_build_args make_install_args build_style \ short_desc maintainer long_desc checksum wrksrc \ - patch_files make_cmd \ + patch_files make_cmd base_package \ make_env make_build_target configure_script \ run_stuff_before_configure_cmd run_stuff_before_build_cmd \ run_stuff_before_install_cmd run_stuff_after_install_cmd \ @@ -547,8 +547,8 @@ fixup_la_files() for f in $(find $wrksrc -type f -name \*.la*); do if [ -f $f ]; then echo "Replacing libtool archive: $f" - sed -i -e "s|\/..\/lib||g" \ - -e "s|$XBPS_MASTERDIR||g;" \ + sed -i -e "s|\/..\/lib||g;s|\/\/lib|/usr/lib|g" \ + -e "s|$XBPS_MASTERDIR||g;" \ -e "s|$XBPS_DESTDIR/$pkgname-$version||g" $f awk '{ if (/^ dependency_libs/) {gsub("/usr[^]*lib","lib");}print}' \ $f > $f.in && mv $f.in $f