aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db3
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-10-08 01:04:00 +0800
committerlioux <lioux@FreeBSD.org>2001-10-08 01:04:00 +0800
commitb2abf95ad6440ae9568c665f37ed2d98440de73f (patch)
treed0c0f9f5d2218b9df9545a192898f64ab4e02f72 /databases/db3
parent31f2bb9ececd3ae4755a0afcfb68d34695455f6f (diff)
downloadfreebsd-ports-gnome-b2abf95ad6440ae9568c665f37ed2d98440de73f.tar.gz
freebsd-ports-gnome-b2abf95ad6440ae9568c665f37ed2d98440de73f.tar.zst
freebsd-ports-gnome-b2abf95ad6440ae9568c665f37ed2d98440de73f.zip
Location independence (by LOCALBASE) of both ltconfig and ltmain.sh
PR: 30920 Submitted by: MAINTAINER Prompted by: Mike Meyer <mwm@mired.org>
Diffstat (limited to 'databases/db3')
-rw-r--r--databases/db3/Makefile1
-rw-r--r--databases/db3/files/patch-ab4
2 files changed, 3 insertions, 2 deletions
diff --git a/databases/db3/Makefile b/databases/db3/Makefile
index 6f530585878e..e4f17b13794d 100644
--- a/databases/db3/Makefile
+++ b/databases/db3/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 <bsd.port.mk>
diff --git a/databases/db3/files/patch-ab b/databases/db3/files/patch-ab
index 848114a2bbea..50bab3b542f2 100644
--- a/databases/db3/files/patch-ab
+++ b/databases/db3/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; }