freebsd-ports/databases/db44/files/patch-ab
Mario Sergio Fujikawa Ferreira fcdf17994d Location independence (by LOCALBASE) of both ltconfig and ltmain.sh
PR:		30920
Submitted by:	MAINTAINER
Prompted by:	Mike Meyer <mwm@mired.org>
2001-10-07 17:04:00 +00:00

24 lines
941 B
Text

--- ../dist/configure.orig Tue May 29 10:55:53 2001
+++ ../dist/configure Tue May 29 11:07:37 2001
@@ -1626,9 +1626,9 @@
echo $ac_n "checking libtool configuration""... $ac_c" 1>&6
echo "configure:1628: checking libtool configuration" >&5
echo "$ac_t""" 1>&6
- ${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \
- --no-verify $srcdir/ltmain.sh \
- --output=./libtool $host_os \
+ ${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; }
@@ -1644,7 +1644,7 @@
INSTALLER="\$(LIBTOOL) --mode=install cp"
POSTLINK="\$(LIBTOOL) --mode=execute true"
- SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
+ SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -version-info ${DB_VERSION_MINOR}"
SOFLAGS="-rpath \$(libdir)"
o=".lo"
fi