From 6e139bffca5ed7ceeea85fa423f8e795de5962cd Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 6 Dec 2005 21:10:36 +0000 Subject: libtool.m4 fragment patch for DragonFly, otherwise configure rejects Python support. --- math/gnumeric/distinfo | 4 +-- math/gnumeric/patches/patch-ab | 65 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 65 insertions(+), 4 deletions(-) (limited to 'math') diff --git a/math/gnumeric/distinfo b/math/gnumeric/distinfo index 401e565b66f..af69d4d8d10 100644 --- a/math/gnumeric/distinfo +++ b/math/gnumeric/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.21 2005/09/08 15:29:31 drochner Exp $ +$NetBSD: distinfo,v 1.22 2005/12/06 21:10:36 joerg Exp $ SHA1 (gnumeric-1.4.3.tar.bz2) = 6c5787c1ef2929e022af2a7dca18bad92bc9041e RMD160 (gnumeric-1.4.3.tar.bz2) = 7ebbad9b5244c575ce575575d05ceae648de6afb Size (gnumeric-1.4.3.tar.bz2) = 13756646 bytes -SHA1 (patch-ab) = e5152e2e0f0dfd0f4912c1e9e34f4224fe092c6b +SHA1 (patch-ab) = 36dbf5a36ca7a302d082f47adfc8c13330ff8253 SHA1 (patch-ad) = 8341c293d3b90143c802c7ec547bb42b875454d7 SHA1 (patch-ae) = 06e61c42cadbc3d32ae4895dcd52e351ed9f9db4 SHA1 (patch-af) = b1e6fc4387e882052889d387aff41f77e5544ab9 diff --git a/math/gnumeric/patches/patch-ab b/math/gnumeric/patches/patch-ab index 172c3323815..fad79212c60 100644 --- a/math/gnumeric/patches/patch-ab +++ b/math/gnumeric/patches/patch-ab @@ -1,8 +1,69 @@ -$NetBSD: patch-ab,v 1.7 2005/09/08 15:29:31 drochner Exp $ +$NetBSD: patch-ab,v 1.8 2005/12/06 21:10:36 joerg Exp $ --- configure.orig 2005-01-15 18:01:09.000000000 +0100 +++ configure -@@ -27200,7 +27200,7 @@ echo $ECHO_N "checking Look for $PY_PREF +@@ -5063,13 +5063,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.*` + ;; +@@ -8722,7 +8722,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 +@@ -9300,7 +9300,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 +@@ -11683,7 +11683,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 +@@ -12390,7 +12390,7 @@ echo $ECHO_N "checking for $compiler opt + ;; + esac + ;; +- freebsd* | kfreebsd*-gnu) ++ freebsd* | kfreebsd*-gnu | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) +@@ -13004,7 +13004,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 +@@ -27201,7 +27201,7 @@ echo $ECHO_N "checking Look for $PY_PREF echo "$as_me:$LINENO: result: $marker_ok" >&5 echo "${ECHO_T}$marker_ok" >&6 PY_LIBS="python$PY_VERSION" -- cgit v1.2.3