From fcdf17994d2fef9e2a1378d164e5fd578e6ef262 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Sun, 7 Oct 2001 17:04:00 +0000 Subject: Location independence (by LOCALBASE) of both ltconfig and ltmain.sh PR: 30920 Submitted by: MAINTAINER Prompted by: Mike Meyer --- databases/db43/Makefile | 1 + databases/db43/files/patch-ab | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'databases/db43') diff --git a/databases/db43/Makefile b/databases/db43/Makefile index 6f530585878e..e4f17b13794d 100644 --- a/databases/db43/Makefile +++ b/databases/db43/Makefile @@ -38,5 +38,6 @@ pre-patch: post-patch: @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT} + @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/../dist/configure .include diff --git a/databases/db43/files/patch-ab b/databases/db43/files/patch-ab index 848114a2bbea..50bab3b542f2 100644 --- a/databases/db43/files/patch-ab +++ b/databases/db43/files/patch-ab @@ -7,8 +7,8 @@ - ${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \ - --no-verify $srcdir/ltmain.sh \ - --output=./libtool $host_os \ -+ ${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig \ -+ --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $target \ ++ ${CONFIG_SHELL-/bin/sh} %%LOCALBASE%%/share/libtool/ltconfig \ ++ --no-verify --disable-ltlibs %%LOCALBASE%%/share/libtool/ltmain.sh $target \ + --output=./libtool \ --disable-static \ || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } -- cgit v1.2.3