summaryrefslogtreecommitdiff
path: root/devel/libtool/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libtool/patches/patch-ab')
-rw-r--r--devel/libtool/patches/patch-ab32
1 files changed, 25 insertions, 7 deletions
diff --git a/devel/libtool/patches/patch-ab b/devel/libtool/patches/patch-ab
index ec0ab2420fc..17aae0357ac 100644
--- a/devel/libtool/patches/patch-ab
+++ b/devel/libtool/patches/patch-ab
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
+$NetBSD: patch-ab,v 1.49 2005/01/18 18:51:15 tv Exp $
---- configure.orig 2004-09-19 22:22:04.000000000 +1000
+--- configure.orig 2004-09-19 08:22:04.000000000 -0400
+++ configure
@@ -322,11 +322,11 @@ else
@@ -71,7 +71,7 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
;;
- netbsd* | freebsd* | openbsd* | darwin* )
-+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly* )
++ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
# This has been around since 386BSD, at least. Likely further.
if test -x /sbin/sysctl; then
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
@@ -127,6 +127,15 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
;;
*)
+@@ -7757,7 +7772,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
@@ -7832,6 +7847,21 @@ if test -z "$aix_libpath"; then aix_libp
fi
;;
@@ -186,7 +195,7 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
;;
+dragonfly*)
-+ version_type=dragonfly
++ version_type=freebsd-elf # XXX tv this should be =linux; current selection has problems
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
@@ -433,7 +442,7 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
;;
+dragonfly*)
-+ version_type=dragonfly
++ version_type=freebsd-elf # XXX tv this should be =linux; current selection has problems
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
@@ -621,7 +630,7 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
;;
+dragonfly*)
-+ version_type=dragonfly
++ version_type=freebsd-elf # XXX tv this should be =linux; current selection has problems
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
@@ -741,6 +750,15 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
;;
*)
+@@ -16995,7 +17179,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_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+ hardcode_libdir_flag_spec_GCJ='-R$libdir'
+ hardcode_direct_GCJ=yes
@@ -17070,6 +17254,21 @@ if test -z "$aix_libpath"; then aix_libp
fi
;;
@@ -800,7 +818,7 @@ $NetBSD: patch-ab,v 1.48 2004/12/21 13:50:23 grant Exp $
;;
+dragonfly*)
-+ version_type=dragonfly
++ version_type=freebsd-elf # XXX tv this should be =linux; current selection has problems
+ need_version=no
+ need_lib_prefix=no
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'