diff options
author | asau <asau@pkgsrc.org> | 2014-04-04 18:25:51 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2014-04-04 18:25:51 +0000 |
commit | 9c1fa11b511c9fa6e0fcae3005f23d64267cec0d (patch) | |
tree | bfdbd06fa9faf37cac6ebe5b2e32c329fc4ba292 /graphics/djview4/patches | |
parent | 8a3a8d27161c96f8d67e0fa280b94b4017f7d072 (diff) | |
download | pkgsrc-9c1fa11b511c9fa6e0fcae3005f23d64267cec0d.tar.gz |
Stop treating FreeBSD 10 like FreeBSD 1.
Diffstat (limited to 'graphics/djview4/patches')
-rw-r--r-- | graphics/djview4/patches/patch-config_libtool.m4 | 40 | ||||
-rw-r--r-- | graphics/djview4/patches/patch-configure | 58 |
2 files changed, 98 insertions, 0 deletions
diff --git a/graphics/djview4/patches/patch-config_libtool.m4 b/graphics/djview4/patches/patch-config_libtool.m4 new file mode 100644 index 00000000000..e243d895b9f --- /dev/null +++ b/graphics/djview4/patches/patch-config_libtool.m4 @@ -0,0 +1,40 @@ +$NetBSD: patch-config_libtool.m4,v 1.1 2014/04/04 18:25:51 asau Exp $ + +--- config/libtool.m4.orig 2011-08-17 14:24:20.000000000 +0000 ++++ config/libtool.m4 +@@ -2286,7 +2286,7 @@ dgux*) + shlibpath_var=LD_LIBRARY_PATH + ;; + +-freebsd1*) ++freebsd1|freebsd1.*) + dynamic_linker=no + ;; + +@@ -2297,7 +2297,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 +@@ -4723,7 +4723,7 @@ _LT_EOF + _LT_TAGVAR(hardcode_shlibpath_var, $1)=no + ;; + +- freebsd1*) ++ freebsd1|freebsd1.*) + _LT_TAGVAR(ld_shlibs, $1)=no + ;; + +@@ -5685,7 +5685,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 diff --git a/graphics/djview4/patches/patch-configure b/graphics/djview4/patches/patch-configure new file mode 100644 index 00000000000..d7c2fd44533 --- /dev/null +++ b/graphics/djview4/patches/patch-configure @@ -0,0 +1,58 @@ +$NetBSD: patch-configure,v 1.1 2014/04/04 18:25:51 asau Exp $ + +--- configure.orig 2014-04-03 17:59:03.942029000 +0000 ++++ configure +@@ -9242,7 +9242,7 @@ if test -z "$aix_libpath"; then aix_libp + hardcode_shlibpath_var=no + ;; + +- freebsd1*) ++ freebsd1|freebsd1.*) + ld_shlibs=no + ;; + +@@ -10117,7 +10117,7 @@ dgux*) + shlibpath_var=LD_LIBRARY_PATH + ;; + +-freebsd1*) ++freebsd1|freebsd1.*) + dynamic_linker=no + ;; + +@@ -10128,7 +10128,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 +@@ -11824,7 +11824,7 @@ if test -z "$aix_libpath"; then aix_libp + esac + ;; + +- freebsd[12]*) ++ freebsd[12]|freebsd[12].*) + # C++ shared libraries reported to be fairly broken before + # switch to ELF + ld_shlibs_CXX=no +@@ -13585,7 +13585,7 @@ dgux*) + shlibpath_var=LD_LIBRARY_PATH + ;; + +-freebsd1*) ++freebsd1|freebsd1.*) + dynamic_linker=no + ;; + +@@ -13596,7 +13596,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 |