pkgsrc/print/pdflib-lite/patches/patch-ab

31 lines
851 B
Text

$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