pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/dasher Patch libtool.m4 in configure to suppor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62685b0b948d
branches:  trunk
changeset: 500569:62685b0b948d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Oct 10 16:31:59 2005 +0000

description:
Patch libtool.m4 in configure to support DragonFly.

diffstat:

 editors/dasher/distinfo         |   3 +-
 editors/dasher/patches/patch-aa |  65 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 1 deletions(-)

diffs (80 lines):

diff -r dd5c1412e4c2 -r 62685b0b948d editors/dasher/distinfo
--- a/editors/dasher/distinfo   Mon Oct 10 16:18:04 2005 +0000
+++ b/editors/dasher/distinfo   Mon Oct 10 16:31:59 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2005/03/22 16:28:11 jmmv Exp $
+$NetBSD: distinfo,v 1.9 2005/10/10 16:31:59 joerg Exp $
 
 SHA1 (dasher-3.2.15.tar.bz2) = 43d61f69ccc275ee4f9af977bdb2aa2de8591bbd
 RMD160 (dasher-3.2.15.tar.bz2) = c940bc7add699f1c93073453f2bf9ea361aad895
 Size (dasher-3.2.15.tar.bz2) = 8981223 bytes
+SHA1 (patch-aa) = 782e9a16b5e5807a98b64c75a31bed82eb96f8b8
diff -r dd5c1412e4c2 -r 62685b0b948d editors/dasher/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/dasher/patches/patch-aa   Mon Oct 10 16:31:59 2005 +0000
@@ -0,0 +1,65 @@
+$NetBSD: patch-aa,v 1.1 2005/10/10 16:32:00 joerg Exp $
+
+--- configure.orig     2005-07-10 15:59:17.000000000 +0000
++++ configure
+@@ -3851,13 +3851,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 (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.*`
+       ;;
+@@ -6767,7 +6767,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
+@@ -7511,7 +7511,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
+@@ -12511,7 +12511,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
+@@ -13271,7 +13271,7 @@ echo $ECHO_N "checking for $compiler opt
+           ;;
+       esac
+       ;;
+-      freebsd* | kfreebsd*-gnu)
++      freebsd* | kfreebsd*-gnu | dragonfly*)
+       # FreeBSD uses GNU C++
+       ;;
+       hpux9* | hpux10* | hpux11*)
+@@ -13992,7 +13992,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



Home | Main Index | Thread Index | Old Index