summaryrefslogtreecommitdiff
path: root/databases/db5/patches
diff options
context:
space:
mode:
authorasau <asau>2014-04-22 14:42:35 +0000
committerasau <asau>2014-04-22 14:42:35 +0000
commitb2b7c8cd31097919fab829cdc1daad7ed171eb11 (patch)
tree4fe507d3d3ce8b7325f42bd5e5402e801fb03bb0 /databases/db5/patches
parent0c93d7b34d2a4f39cec23f536ded5a9889b18aac (diff)
downloadpkgsrc-b2b7c8cd31097919fab829cdc1daad7ed171eb11.tar.gz
FreeBSD 10 is not FreeBSD 1.
Diffstat (limited to 'databases/db5/patches')
-rw-r--r--databases/db5/patches/patch-ab58
-rw-r--r--databases/db5/patches/patch-dist_aclocal_libtool.m440
2 files changed, 96 insertions, 2 deletions
diff --git a/databases/db5/patches/patch-ab b/databases/db5/patches/patch-ab
index b1ad937e23c..c8556c21758 100644
--- a/databases/db5/patches/patch-ab
+++ b/databases/db5/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.4 2012/01/18 13:46:50 adam Exp $
+$NetBSD: patch-ab,v 1.5 2014/04/22 14:42:35 asau Exp $
---- dist/configure.orig 2011-12-20 01:00:49.000000000 +0000
+--- dist/configure.orig 2012-05-11 17:57:48.000000000 +0000
+++ dist/configure
@@ -5112,7 +5112,7 @@ bsdi3*) CC=${CC-"shlicc2"}
LIBSO_LIBS="$LIBSO_LIBS -lipc";;
@@ -20,6 +20,60 @@ $NetBSD: patch-ab,v 1.4 2012/01/18 13:46:50 adam Exp $
CPPFLAGS="$CPPFLAGS -pthread"
LDFLAGS="$LDFLAGS -pthread"
else
+@@ -12227,7 +12227,7 @@ fi
+ hardcode_shlibpath_var=no
+ ;;
+
+- freebsd1*)
++ freebsd1|freebsd1.*)
+ ld_shlibs=no
+ ;;
+
+@@ -13221,7 +13221,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -13232,7 +13232,7 @@ freebsd* | dragonfly*)
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+- freebsd[123]*) objformat=aout ;;
++ freebsd[123]|freebsd[123].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+@@ -15190,7 +15190,7 @@ fi
+ esac
+ ;;
+
+- freebsd[12]*)
++ freebsd[12]|freebsd[12].*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ ld_shlibs_CXX=no
+@@ -17054,7 +17054,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -17065,7 +17065,7 @@ freebsd* | dragonfly*)
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+- freebsd[123]*) objformat=aout ;;
++ freebsd[123]|freebsd[123].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
@@ -17712,7 +17712,7 @@ LIBTOOL="./libtool"
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
diff --git a/databases/db5/patches/patch-dist_aclocal_libtool.m4 b/databases/db5/patches/patch-dist_aclocal_libtool.m4
new file mode 100644
index 00000000000..f468fd8917e
--- /dev/null
+++ b/databases/db5/patches/patch-dist_aclocal_libtool.m4
@@ -0,0 +1,40 @@
+$NetBSD: patch-dist_aclocal_libtool.m4,v 1.1 2014/04/22 14:42:35 asau Exp $
+
+--- dist/aclocal/libtool.m4.orig 2012-05-11 17:57:48.000000000 +0000
++++ dist/aclocal/libtool.m4
+@@ -2406,7 +2406,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -2417,7 +2417,7 @@ freebsd* | dragonfly*)
+ objformat=`/usr/bin/objformat`
+ else
+ case $host_os in
+- freebsd[[123]]*) objformat=aout ;;
++ freebsd[[123]]|freebsd[[123]].*) objformat=aout ;;
+ *) objformat=elf ;;
+ esac
+ fi
+@@ -5110,7 +5110,7 @@ _LT_EOF
+ _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+- freebsd1*)
++ freebsd1|freebsd1.*)
+ _LT_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+@@ -6137,7 +6137,7 @@ if test "$_lt_caught_CXX_error" != yes;
+ esac
+ ;;
+
+- freebsd[[12]]*)
++ freebsd[[12]]|freebsd[[12]].*)
+ # C++ shared libraries reported to be fairly broken before
+ # switch to ELF
+ _LT_TAGVAR(ld_shlibs, $1)=no