pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/chicken Fix libtool.m4 fragment to properly detec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec0ef0ba70dd
branches:  trunk
changeset: 522243:ec0ef0ba70dd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 06 14:30:50 2006 +0000

description:
Fix libtool.m4 fragment to properly detect shared libraries on
DragonFly.

diffstat:

 lang/chicken/distinfo         |    3 +-
 lang/chicken/patches/patch-ac |  101 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+), 1 deletions(-)

diffs (118 lines):

diff -r 2e4461741b33 -r ec0ef0ba70dd lang/chicken/distinfo
--- a/lang/chicken/distinfo     Wed Dec 06 14:14:11 2006 +0000
+++ b/lang/chicken/distinfo     Wed Dec 06 14:30:50 2006 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.17 2006/10/10 15:04:38 obache Exp $
+$NetBSD: distinfo,v 1.18 2006/12/06 14:30:50 joerg Exp $
 
 SHA1 (chicken-2.41.tar.gz) = cfc202f16d021d530b7e9d73a75db097e1946d34
 RMD160 (chicken-2.41.tar.gz) = ba08c178c9260fa9f5dc0d57f5e46bb779ce51aa
 Size (chicken-2.41.tar.gz) = 3950398 bytes
 SHA1 (patch-aa) = 34ac9e2bb18de718a7e2c7fe9a7e042950648636
 SHA1 (patch-ab) = ce95ea724f3129335dcc4b3dc8fe827f526a8d1a
+SHA1 (patch-ac) = 0bc4d7b01ef7265bedf43dfea046d67203d58324
diff -r 2e4461741b33 -r ec0ef0ba70dd lang/chicken/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/chicken/patches/patch-ac     Wed Dec 06 14:30:50 2006 +0000
@@ -0,0 +1,101 @@
+$NetBSD: patch-ac,v 1.5 2006/12/06 14:30:50 joerg Exp $
+
+--- configure.orig     2006-12-06 14:13:43.000000000 +0000
++++ configure
+@@ -4062,13 +4062,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 (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.*`
+       ;;
+@@ -7502,7 +7502,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
+@@ -8135,7 +8135,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
+@@ -10405,7 +10405,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
+@@ -11112,7 +11112,7 @@ echo $ECHO_N "checking for $compiler opt
+           ;;
+       esac
+       ;;
+-      freebsd*)
++      freebsd*|dragonfly*)
+       # FreeBSD uses GNU C++
+       ;;
+       hpux9* | hpux10* | hpux11*)
+@@ -11781,7 +11781,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
+@@ -14233,7 +14233,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
+@@ -14866,7 +14866,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
+@@ -16514,7 +16514,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
+@@ -17147,7 +17147,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