summaryrefslogtreecommitdiff
path: root/lang/librep/patches/patch-aa
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-11 23:12:11 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-11 23:12:11 +0000
commit689549825446d3fcbe0e77796d203734a3e2e469 (patch)
tree9622eec0f05f36ec4c8bedf69ef0f5c16c311a46 /lang/librep/patches/patch-aa
parent22aca334e3f806f5d10ac8c67bf4e9ad8fc8f87a (diff)
downloadpkgsrc-689549825446d3fcbe0e77796d203734a3e2e469.tar.gz
Fix errno. Add DragonFly.
Diffstat (limited to 'lang/librep/patches/patch-aa')
-rw-r--r--lang/librep/patches/patch-aa101
1 files changed, 101 insertions, 0 deletions
diff --git a/lang/librep/patches/patch-aa b/lang/librep/patches/patch-aa
new file mode 100644
index 00000000000..70f5936f925
--- /dev/null
+++ b/lang/librep/patches/patch-aa
@@ -0,0 +1,101 @@
+$NetBSD: patch-aa,v 1.9 2005/12/11 23:12:11 joerg Exp $
+
+--- configure.orig 2005-12-11 22:49:43.000000000 +0000
++++ configure
+@@ -3311,13 +3311,13 @@ darwin* | rhapsody*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+-freebsd* | kfreebsd*-gnu)
++freebsd* | kfreebsd*-gnu | dragonfly*)
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ case $host_cpu in
+ i*86 )
+ # Not sure whether the presence of OpenBSD here was a mistake.
+ # Let's accept both of them until this is cleared up.
+- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
++ lt_cv_deplibs_check_method='file_magic (DragonFly|FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
+ ;;
+@@ -6562,7 +6562,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | kfreebsd*-gnu)
++ freebsd* | kfreebsd*-gnu | dragonfly*)
+ archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec='-R$libdir'
+ hardcode_direct=yes
+@@ -7140,7 +7140,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++freebsd* | dragonfly*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+@@ -9392,7 +9392,7 @@ if test -z "$aix_libpath"; then aix_libp
+ freebsd-elf*)
+ archive_cmds_need_lc_CXX=no
+ ;;
+- freebsd* | kfreebsd*-gnu)
++ freebsd* | kfreebsd*-gnu | dragonfly*)
+ # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
+ # conventions
+ ld_shlibs_CXX=yes
+@@ -10099,7 +10099,7 @@ echo $ECHO_N "checking for $compiler opt
+ ;;
+ esac
+ ;;
+- freebsd* | kfreebsd*-gnu)
++ freebsd* | kfreebsd*-gnu | dragonfly*)
+ # FreeBSD uses GNU C++
+ ;;
+ hpux9* | hpux10* | hpux11*)
+@@ -10717,7 +10717,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++freebsd* | dragonfly*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+@@ -13165,7 +13165,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | kfreebsd*-gnu)
++ freebsd* | kfreebsd*-gnu | dragonfly*)
+ archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec_F77='-R$libdir'
+ hardcode_direct_F77=yes
+@@ -13743,7 +13743,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++freebsd* | dragonfly*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in
+@@ -15477,7 +15477,7 @@ if test -z "$aix_libpath"; then aix_libp
+ ;;
+
+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+- freebsd* | kfreebsd*-gnu)
++ freebsd* | kfreebsd*-gnu | dragonfly*)
+ archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_direct_GCJ=yes
+@@ -16055,7 +16055,7 @@ kfreebsd*-gnu)
+ dynamic_linker='GNU ld.so'
+ ;;
+
+-freebsd*)
++freebsd* | dragonfly*)
+ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+ version_type=freebsd-$objformat
+ case $version_type in