Added file-4.26 template and make xbps-base-chroot depend on it.

Also allow packages to disable fixup_libtool_file() via
$no_fixup_libtool, it's enabled by default.

--HG--
extra : convert_revision : 5fd550379cc78d08c2131fa011ee0121422bbae4
This commit is contained in:
Juan RP
2008-10-23 23:27:10 +02:00
parent 58af2b6d25
commit 0c2a5b90da
3 changed files with 18 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ reset_tmpl_vars()
run_stuff_before_install_cmd run_stuff_after_install_cmd \
make_install_target postinstall_helpers version \
ignore_files tar_override_cmd xml_entries sgml_entries \
build_depends \
build_depends no_fixup_libtool \
XBPS_EXTRACT_DONE XBPS_CONFIGURE_DONE \
XBPS_BUILD_DONE XBPS_INSTALL_DONE"
@@ -527,6 +527,7 @@ fetch_distfiles()
fixup_libtool_file()
{
[ "$pkgname" = "libtool" -o ! -f $wrksrc/libtool ] && return 0
[ -n "$no_libtool_fixup" ] && return 0
sed -i -e \
's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec="-Wl,-rpath /usr/lib"|g' \