summaryrefslogtreecommitdiff
path: root/math/gcalctool
diff options
context:
space:
mode:
authorjoerg <joerg>2005-10-10 20:14:50 +0000
committerjoerg <joerg>2005-10-10 20:14:50 +0000
commit8158efbcf30fee0168ef0d4ac607e07ee4d27850 (patch)
treeeb696a442611e8633123d6f588e5dbb8c1f899bc /math/gcalctool
parent6fc62067e17d30367c2605d700460d568b56c7c2 (diff)
downloadpkgsrc-8158efbcf30fee0168ef0d4ac607e07ee4d27850.tar.gz
Update libtool.m4 fragment to allow build on DragonFly.
Diffstat (limited to 'math/gcalctool')
-rw-r--r--math/gcalctool/distinfo3
-rw-r--r--math/gcalctool/patches/patch-aa92
2 files changed, 94 insertions, 1 deletions
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