From 519c70c9ca5caeffe86062fc85872adc6abb71b5 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 10 Oct 2005 20:14:50 +0000 Subject: Update libtool.m4 fragment to allow build on DragonFly. --- math/gcalctool/distinfo | 3 +- math/gcalctool/patches/patch-aa | 92 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 math/gcalctool/patches/patch-aa (limited to 'math/gcalctool') diff --git a/math/gcalctool/distinfo b/math/gcalctool/distinfo index d2ea77c987a..ab5964ecd43 100644 --- a/math/gcalctool/distinfo +++ b/math/gcalctool/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.18 2005/04/20 15:48:27 drochner Exp $ +$NetBSD: distinfo,v 1.19 2005/10/10 20:14:50 joerg Exp $ SHA1 (gcalctool-5.5.42.tar.bz2) = d5b71286c6516a1a3d8b21ae22431f601832e2da RMD160 (gcalctool-5.5.42.tar.bz2) = 6d9235ef9cec9e32bb5929d6567b009f4eca09ee Size (gcalctool-5.5.42.tar.bz2) = 1072489 bytes +SHA1 (patch-aa) = c871cce3559d686f7e127250fd3fe85ffae14458 diff --git a/math/gcalctool/patches/patch-aa b/math/gcalctool/patches/patch-aa new file mode 100644 index 00000000000..5bd0925a9e5 --- /dev/null +++ b/math/gcalctool/patches/patch-aa @@ -0,0 +1,92 @@ +$NetBSD: patch-aa,v 1.9 2005/10/10 20:14:50 joerg Exp $ + +--- configure.orig 2005-07-10 16:42:39.000000000 +0000 ++++ configure +@@ -6811,13 +6811,13 @@ darwin* | rhapsody*) + lt_cv_deplibs_check_method=pass_all + ;; + +-freebsd*) ++freebsd* | 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 (FreeBSD|OpenBSD|DragonFly)/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.*` + ;; +@@ -10064,7 +10064,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # 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 +@@ -10697,7 +10697,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 +@@ -12967,7 +12967,7 @@ if test -z "$aix_libpath"; then aix_libp + freebsd-elf*) + archive_cmds_need_lc_CXX=no + ;; +- freebsd*) ++ freebsd* | dragonfly*) + # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF + # conventions + ld_shlibs_CXX=yes +@@ -14343,7 +14343,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 +@@ -16795,7 +16795,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd*) ++ freebsd* | dragonfly*) + archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -17428,7 +17428,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 +@@ -19076,7 +19076,7 @@ if test -z "$aix_libpath"; then aix_libp + ;; + + # FreeBSD 3 and greater uses gcc -shared to do shared libraries. +- freebsd*) ++ freebsd* | dragonfly*) + archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_GCJ='-R$libdir' + hardcode_direct_GCJ=yes +@@ -19709,7 +19709,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 -- cgit v1.2.3