summaryrefslogtreecommitdiff
path: root/print/pdflib-lite/patches
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2014-04-17 21:40:04 +0000
committerasau <asau@pkgsrc.org>2014-04-17 21:40:04 +0000
commit181baa853da68fb83b4fb937cccbc2fb79054dfe (patch)
treed805cb859de751961f68f2e02912ca71160c94a4 /print/pdflib-lite/patches
parent59a1799b302fc7b3ed20a6c66849196cf8ff4a59 (diff)
downloadpkgsrc-181baa853da68fb83b4fb937cccbc2fb79054dfe.tar.gz
FreeBSD 10 is not FreeBSD 1.
Diffstat (limited to 'print/pdflib-lite/patches')
-rw-r--r--print/pdflib-lite/patches/patch-config_aclocal.m458
-rw-r--r--print/pdflib-lite/patches/patch-configure175
2 files changed, 233 insertions, 0 deletions
diff --git a/print/pdflib-lite/patches/patch-config_aclocal.m4 b/print/pdflib-lite/patches/patch-config_aclocal.m4
new file mode 100644
index 00000000000..9144c441305
--- /dev/null
+++ b/print/pdflib-lite/patches/patch-config_aclocal.m4
@@ -0,0 +1,58 @@
+$NetBSD: patch-config_aclocal.m4,v 1.1 2014/04/17 21:40:04 asau Exp $
+
+--- config/aclocal.m4.orig 2010-04-29 13:50:03.000000000 +0000
++++ config/aclocal.m4
+@@ -1445,7 +1445,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -1456,7 +1456,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
+@@ -1474,7 +1474,7 @@ freebsd* | dragonfly*)
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[[01]]* | freebsdelf3.[[01]]*)
+@@ -3156,7 +3156,7 @@ case $host_os in
+ ;;
+ esac
+ ;;
+- freebsd[[12]]*)
++ freebsd[[12]]|freebsd[[12]].*)
+ # C++ shared libraries reported to be fairly broken before switch to ELF
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+@@ -6025,7 +6025,7 @@ _LT_EOF
+ _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
+ ;;
+
+- freebsd1*)
++ freebsd1|freebsd1.*)
+ _LT_AC_TAGVAR(ld_shlibs, $1)=no
+ ;;
+
+@@ -6041,7 +6041,7 @@ _LT_EOF
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ _LT_AC_TAGVAR(hardcode_direct, $1)=yes
+ _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes
diff --git a/print/pdflib-lite/patches/patch-configure b/print/pdflib-lite/patches/patch-configure
new file mode 100644
index 00000000000..b39f5bbaa21
--- /dev/null
+++ b/print/pdflib-lite/patches/patch-configure
@@ -0,0 +1,175 @@
+$NetBSD: patch-configure,v 1.1 2014/04/17 21:40:04 asau Exp $
+
+--- configure.orig 2014-04-17 14:23:40.831707000 +0000
++++ configure
+@@ -8169,7 +8169,7 @@ if test -z "$aix_libpath"; then aix_libp
+ hardcode_shlibpath_var=no
+ ;;
+
+- freebsd1*)
++ freebsd1|freebsd1.*)
+ ld_shlibs=no
+ ;;
+
+@@ -8185,7 +8185,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct=yes
+ hardcode_minus_L=yes
+@@ -8818,7 +8818,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -8829,7 +8829,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
+@@ -8847,7 +8847,7 @@ freebsd* | dragonfly*)
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+@@ -11289,7 +11289,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
+ ;;
+@@ -12825,7 +12825,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -12836,7 +12836,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
+@@ -12854,7 +12854,7 @@ freebsd* | dragonfly*)
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+@@ -14833,7 +14833,7 @@ if test -z "$aix_libpath"; then aix_libp
+ hardcode_shlibpath_var_F77=no
+ ;;
+
+- freebsd1*)
++ freebsd1|freebsd1.*)
+ ld_shlibs_F77=no
+ ;;
+
+@@ -14849,7 +14849,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_F77=yes
+ hardcode_minus_L_F77=yes
+@@ -15430,7 +15430,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -15441,7 +15441,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
+@@ -15459,7 +15459,7 @@ freebsd* | dragonfly*)
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)
+@@ -17443,7 +17443,7 @@ if test -z "$aix_libpath"; then aix_libp
+ hardcode_shlibpath_var_GCJ=no
+ ;;
+
+- freebsd1*)
++ freebsd1|freebsd1.*)
+ ld_shlibs_GCJ=no
+ ;;
+
+@@ -17459,7 +17459,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # Unfortunately, older versions of FreeBSD 2 do not have this feature.
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_direct_GCJ=yes
+ hardcode_minus_L_GCJ=yes
+@@ -18040,7 +18040,7 @@ dgux*)
+ shlibpath_var=LD_LIBRARY_PATH
+ ;;
+
+-freebsd1*)
++freebsd1|freebsd1.*)
+ dynamic_linker=no
+ ;;
+
+@@ -18051,7 +18051,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
+@@ -18069,7 +18069,7 @@ freebsd* | dragonfly*)
+ esac
+ shlibpath_var=LD_LIBRARY_PATH
+ case $host_os in
+- freebsd2*)
++ freebsd2|freebsd2.*)
+ shlibpath_overrides_runpath=yes
+ ;;
+ freebsd3.[01]* | freebsdelf3.[01]*)