pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/gcalctool Update libtool.m4 fragment to allow bui...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/077db858aee2
branches:  trunk
changeset: 500608:077db858aee2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 10 20:14:50 2005 +0000

description:
Update libtool.m4 fragment to allow build on DragonFly.

diffstat:

 math/gcalctool/distinfo         |   3 +-
 math/gcalctool/patches/patch-aa |  92 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+), 1 deletions(-)

diffs (107 lines):

diff -r 380c9b8e1fad -r 077db858aee2 math/gcalctool/distinfo
--- a/math/gcalctool/distinfo   Mon Oct 10 20:13:45 2005 +0000
+++ b/math/gcalctool/distinfo   Mon Oct 10 20:14:50 2005 +0000
@@ -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 -r 380c9b8e1fad -r 077db858aee2 math/gcalctool/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/gcalctool/patches/patch-aa   Mon Oct 10 20:14:50 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index