aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db4/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-25 00:13:22 +0800
committerknu <knu@FreeBSD.org>2001-07-25 00:13:22 +0800
commit62a9500f51a929484b46085915fd59840586aa35 (patch)
tree72eba26bb725c2ec4b32e65e90d2258d764ad6ff /databases/db4/files
parentd5cbba3642874afeac901031c23f459fd74a6eb6 (diff)
downloadfreebsd-ports-gnome-62a9500f51a929484b46085915fd59840586aa35.tar.gz
freebsd-ports-gnome-62a9500f51a929484b46085915fd59840586aa35.tar.zst
freebsd-ports-gnome-62a9500f51a929484b46085915fd59840586aa35.zip
Properly make *.so symlinks to *.so.x. (previously all that were
backwards) PR: ports/27065 Submitted by: Barry Pederson <bpederson@geocities.com>
Diffstat (limited to 'databases/db4/files')
-rw-r--r--databases/db4/files/patch-aa26
-rw-r--r--databases/db4/files/patch-ab21
2 files changed, 31 insertions, 16 deletions
diff --git a/databases/db4/files/patch-aa b/databases/db4/files/patch-aa
index 1cfea9ed1546..6155cc9b8de3 100644
--- a/databases/db4/files/patch-aa
+++ b/databases/db4/files/patch-aa
@@ -1,5 +1,5 @@
---- ../dist/Makefile.in.orig Thu Nov 30 21:07:11 2000
-+++ ../dist/Makefile.in Fri Feb 9 17:47:58 2001
+--- ../dist/Makefile.in.orig Thu Nov 30 17:07:33 2000
++++ ../dist/Makefile.in Tue May 29 11:11:15 2001
@@ -34,11 +34,11 @@
libdb= libdb.a
@@ -39,19 +39,25 @@
dmode= 755
emode= 555
-@@ -452,6 +452,7 @@
+@@ -452,8 +452,8 @@
@cd $(libdir) && $(rm) -f \
$(libso_target) $(libso) $(libso_default) $(libso_major)
@$(INSTALLER) $(libso_target) $(libdir)
-+ @cd $(libdir) && $(chmod) $(fmode) $(libso)
- @cd $(libdir) && $(ln) -s $(libso) $(libso_default)
- @cd $(libdir) && $(ln) -s $(libso) $(libso_major)
+- @cd $(libdir) && $(ln) -s $(libso) $(libso_default)
+- @cd $(libdir) && $(ln) -s $(libso) $(libso_major)
++ @cd $(libdir) && $(chmod) $(fmode) $(libso_major)
++ @cd $(libdir) && $(ln) -s $(libso_major) $(libso_default)
@$(LIBTOOL) --mode=finish $(libdir)
-@@ -463,6 +464,7 @@
+
+ install_dynamic_cxx:
+@@ -463,8 +463,8 @@
@cd $(libdir) && $(rm) -f \
$(libxso_target) $(libxso) $(libxso_default) $(libxso_major)
@$(INSTALLER) $(libxso_target) $(libdir)
-+ @cd $(libdir) && $(chmod) $(fmode) $(libxso)
- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_default)
- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_major)
+- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_default)
+- @cd $(libdir) && $(ln) -s $(libxso) $(libxso_major)
++ @cd $(libdir) && $(chmod) $(fmode) $(libxso_major)
++ @cd $(libdir) && $(ln) -s $(libxso_major) $(libxso_default)
+ install_tcl:
+ @echo "Installing DB Tcl library: $(libdir) ..."
diff --git a/databases/db4/files/patch-ab b/databases/db4/files/patch-ab
index f80e53140f2b..848114a2bbea 100644
--- a/databases/db4/files/patch-ab
+++ b/databases/db4/files/patch-ab
@@ -1,15 +1,24 @@
---- ../dist/configure.orig Fri Sep 22 19:04:19 2000
-+++ ../dist/configure Fri Sep 22 19:05:01 2000
-@@ -1599,9 +1599,9 @@
+--- ../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:1601: checking libtool configuration" >&5
+ 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} $ac_aux_dir/ltconfig \
-+ --no-verify $ac_aux_dir/ltmain.sh $target \
++ ${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig \
++ --no-verify --disable-ltlibs /usr/local/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