summaryrefslogtreecommitdiff
path: root/print/pdflib-lite/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'print/pdflib-lite/patches/patch-ab')
-rw-r--r--print/pdflib-lite/patches/patch-ab31
1 files changed, 31 insertions, 0 deletions
diff --git a/print/pdflib-lite/patches/patch-ab b/print/pdflib-lite/patches/patch-ab
new file mode 100644
index 00000000000..e2e8cee1838
--- /dev/null
+++ b/print/pdflib-lite/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.1 2008/06/02 16:46:42 drochner Exp $
+
+--- configure.orig 2008-06-02 13:09:29 +0300
++++ configure 2008-06-02 13:13:20 +0300
+@@ -3839,7 +3839,7 @@ darwin* | rhapsody*)
+ esac
+ ;;
+
+-freebsd*)
++freebsd*|dragonfly*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+@@ -6113,7 +6113,7 @@ else
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd*)
++ freebsd*|dragonfly*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -6576,7 +6576,7 @@ freebsd1*)
+ dynamic_linker=no
+ ;;
+
+-freebsd*)
++freebsd*|dragonfly*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in