diff options
Diffstat (limited to 'devel/libtool/patches/patch-ad')
-rw-r--r-- | devel/libtool/patches/patch-ad | 226 |
1 files changed, 191 insertions, 35 deletions
diff --git a/devel/libtool/patches/patch-ad b/devel/libtool/patches/patch-ad index 79a10e84042..ae95e20a6cb 100644 --- a/devel/libtool/patches/patch-ad +++ b/devel/libtool/patches/patch-ad @@ -1,6 +1,6 @@ -$NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ +$NetBSD: patch-ad,v 1.20 2004/12/21 13:50:25 grant Exp $ ---- libltdl/configure.orig 2004-09-19 08:23:09.000000000 -0400 +--- libltdl/configure.orig 2004-09-19 22:23:09.000000000 +1000 +++ libltdl/configure @@ -322,11 +322,11 @@ else @@ -16,6 +16,22 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. +@@ -3701,13 +3701,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.*` + ;; @@ -3739,6 +3739,10 @@ hpux10.20* | hpux11*) esac ;; @@ -50,6 +66,15 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' +@@ -5879,7 +5876,7 @@ else + lt_cv_sys_max_cmd_len=8192; + ;; + +- netbsd* | freebsd* | openbsd* | darwin* ) ++ 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` @@ -6814,9 +6811,11 @@ echo $ECHO_N "checking for $compiler opt ;; @@ -93,6 +118,15 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' +@@ -7622,7 +7637,7 @@ if test -z "$aix_libpath"; then aix_libp + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's +- archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + 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}' + ;; + *) @@ -7737,6 +7752,21 @@ if test -z "$aix_libpath"; then aix_libp fi ;; @@ -147,7 +181,24 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ need_version=yes ;; esac -@@ -8327,15 +8359,22 @@ hpux9* | hpux10* | hpux11*) +@@ -8271,6 +8303,16 @@ freebsd*) + esac + ;; + ++dragonfly*) ++ version_type=dragonfly ++ need_version=no ++ need_lib_prefix=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + gnu*) + version_type=linux + need_lib_prefix=no +@@ -8327,15 +8369,22 @@ hpux9* | hpux10* | hpux11*) postinstall_cmds='chmod 555 $lib' ;; @@ -176,7 +227,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ esac need_lib_prefix=no need_version=no -@@ -8412,11 +8451,11 @@ knetbsd*-gnu) +@@ -8412,11 +8461,11 @@ knetbsd*-gnu) ;; netbsd*) @@ -190,7 +241,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else -@@ -8447,10 +8486,10 @@ nto-qnx*) +@@ -8447,10 +8496,10 @@ nto-qnx*) ;; openbsd*) @@ -203,7 +254,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -@@ -10010,9 +10049,7 @@ echo "$as_me: error: tag name \"$tagname +@@ -10010,9 +10059,7 @@ echo "$as_me: error: tag name \"$tagname case $tagname in CXX) @@ -214,7 +265,25 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ ac_ext=cc ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -@@ -10722,6 +10759,16 @@ if test -z "$aix_libpath"; then aix_libp +@@ -10564,7 +10611,7 @@ if test -z "$aix_libpath"; then aix_libp + archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's +- archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_CXX='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}' + ;; + *) +@@ -10598,7 +10645,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 +@@ -10722,6 +10769,16 @@ if test -z "$aix_libpath"; then aix_libp ;; esac ;; @@ -231,7 +300,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ irix5* | irix6*) case $cc_basename in CC) -@@ -10839,14 +10886,29 @@ if test -z "$aix_libpath"; then aix_libp +@@ -10839,14 +10896,29 @@ if test -z "$aix_libpath"; then aix_libp ;; netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then @@ -263,7 +332,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ ;; openbsd2*) # C++ shared libraries are fairly broken -@@ -11229,6 +11291,21 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c +@@ -11229,6 +11301,21 @@ if { (eval echo "$as_me:$LINENO: \"$ac_c esac done @@ -285,7 +354,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ # Clean up. rm -f a.out a.exe else -@@ -11276,9 +11353,11 @@ echo $ECHO_N "checking for $compiler opt +@@ -11276,9 +11363,11 @@ echo $ECHO_N "checking for $compiler opt lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) @@ -298,7 +367,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ ;; *djgpp*) # DJGPP does not support shared libraries at all -@@ -11300,6 +11379,10 @@ echo $ECHO_N "checking for $compiler opt +@@ -11300,6 +11389,10 @@ echo $ECHO_N "checking for $compiler opt ;; esac ;; @@ -309,7 +378,16 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ *) lt_prog_compiler_pic_CXX='-fPIC' ;; -@@ -11374,6 +11457,8 @@ echo $ECHO_N "checking for $compiler opt +@@ -11346,7 +11439,7 @@ echo $ECHO_N "checking for $compiler opt + ;; + esac + ;; +- freebsd* | kfreebsd*-gnu) ++ freebsd* | kfreebsd*-gnu | dragonfly*) + # FreeBSD uses GNU C++ + ;; + hpux9* | hpux10* | hpux11*) +@@ -11374,6 +11467,8 @@ echo $ECHO_N "checking for $compiler opt ;; esac ;; @@ -318,7 +396,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ irix5* | irix6* | nonstopux*) case $cc_basename in CC) -@@ -11844,6 +11929,7 @@ beos*) +@@ -11844,6 +11939,7 @@ beos*) bsdi[45]*) version_type=linux need_version=no @@ -326,7 +404,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -@@ -11958,16 +12044,17 @@ kfreebsd*-gnu) +@@ -11958,16 +12054,17 @@ kfreebsd*-gnu) ;; freebsd*) @@ -350,7 +428,24 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ need_version=yes ;; esac -@@ -12043,15 +12130,22 @@ hpux9* | hpux10* | hpux11*) +@@ -11987,6 +12084,16 @@ freebsd*) + esac + ;; + ++dragonfly*) ++ version_type=dragonfly ++ need_version=no ++ need_lib_prefix=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + gnu*) + version_type=linux + need_lib_prefix=no +@@ -12043,15 +12150,22 @@ hpux9* | hpux10* | hpux11*) postinstall_cmds='chmod 555 $lib' ;; @@ -379,7 +474,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ esac need_lib_prefix=no need_version=no -@@ -12128,11 +12222,11 @@ knetbsd*-gnu) +@@ -12128,11 +12242,11 @@ knetbsd*-gnu) ;; netbsd*) @@ -393,7 +488,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else -@@ -12163,10 +12257,10 @@ nto-qnx*) +@@ -12163,10 +12277,10 @@ nto-qnx*) ;; openbsd*) @@ -406,7 +501,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -@@ -13710,9 +13804,11 @@ echo $ECHO_N "checking for $compiler opt +@@ -13710,9 +13824,11 @@ echo $ECHO_N "checking for $compiler opt ;; darwin* | rhapsody*) @@ -419,7 +514,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ ;; msdosdjgpp*) -@@ -13741,6 +13837,11 @@ echo $ECHO_N "checking for $compiler opt +@@ -13741,6 +13857,11 @@ echo $ECHO_N "checking for $compiler opt esac ;; @@ -431,7 +526,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ *) lt_prog_compiler_pic_F77='-fPIC' ;; -@@ -14126,6 +14227,17 @@ EOF +@@ -14126,6 +14247,17 @@ EOF fi ;; @@ -449,7 +544,25 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' -@@ -14613,6 +14725,21 @@ if test -z "$aix_libpath"; then aix_libp +@@ -14498,7 +14630,7 @@ if test -z "$aix_libpath"; then aix_libp + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's +- archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + module_expsym_cmds_F77='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}' + ;; + *) +@@ -14538,7 +14670,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_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' + hardcode_libdir_flag_spec_F77='-R$libdir' + hardcode_direct_F77=yes +@@ -14613,6 +14745,21 @@ if test -z "$aix_libpath"; then aix_libp fi ;; @@ -471,7 +584,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -@@ -15004,6 +15131,7 @@ beos*) +@@ -15004,6 +15151,7 @@ beos*) bsdi[45]*) version_type=linux need_version=no @@ -479,7 +592,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -@@ -15118,16 +15246,17 @@ kfreebsd*-gnu) +@@ -15118,16 +15266,17 @@ kfreebsd*-gnu) ;; freebsd*) @@ -503,7 +616,24 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ need_version=yes ;; esac -@@ -15203,15 +15332,22 @@ hpux9* | hpux10* | hpux11*) +@@ -15147,6 +15296,16 @@ freebsd*) + esac + ;; + ++dragonfly*) ++ version_type=dragonfly ++ need_version=no ++ need_lib_prefix=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + gnu*) + version_type=linux + need_lib_prefix=no +@@ -15203,15 +15362,22 @@ hpux9* | hpux10* | hpux11*) postinstall_cmds='chmod 555 $lib' ;; @@ -532,7 +662,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ esac need_lib_prefix=no need_version=no -@@ -15288,11 +15424,11 @@ knetbsd*-gnu) +@@ -15288,11 +15454,11 @@ knetbsd*-gnu) ;; netbsd*) @@ -546,7 +676,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else -@@ -15323,10 +15459,10 @@ nto-qnx*) +@@ -15323,10 +15489,10 @@ nto-qnx*) ;; openbsd*) @@ -559,7 +689,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -@@ -16052,9 +16188,11 @@ echo $ECHO_N "checking for $compiler opt +@@ -16052,9 +16218,11 @@ echo $ECHO_N "checking for $compiler opt ;; darwin* | rhapsody*) @@ -572,7 +702,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ ;; msdosdjgpp*) -@@ -16083,6 +16221,11 @@ echo $ECHO_N "checking for $compiler opt +@@ -16083,6 +16251,11 @@ echo $ECHO_N "checking for $compiler opt esac ;; @@ -584,7 +714,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ *) lt_prog_compiler_pic_GCJ='-fPIC' ;; -@@ -16468,6 +16611,17 @@ EOF +@@ -16468,6 +16641,17 @@ EOF fi ;; @@ -602,7 +732,16 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ netbsd*) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' -@@ -16975,6 +17129,21 @@ if test -z "$aix_libpath"; then aix_libp +@@ -16860,7 +17044,7 @@ if test -z "$aix_libpath"; then aix_libp + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' + module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' + # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's +- archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ++ archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' + 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}' + ;; + *) +@@ -16975,6 +17159,21 @@ if test -z "$aix_libpath"; then aix_libp fi ;; @@ -624,7 +763,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -@@ -17366,6 +17535,7 @@ beos*) +@@ -17366,6 +17565,7 @@ beos*) bsdi[45]*) version_type=linux need_version=no @@ -632,7 +771,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -@@ -17480,16 +17650,17 @@ kfreebsd*-gnu) +@@ -17480,16 +17680,17 @@ kfreebsd*-gnu) ;; freebsd*) @@ -656,7 +795,24 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ need_version=yes ;; esac -@@ -17565,15 +17736,22 @@ hpux9* | hpux10* | hpux11*) +@@ -17509,6 +17710,16 @@ freebsd*) + esac + ;; + ++dragonfly*) ++ version_type=dragonfly ++ need_version=no ++ need_lib_prefix=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ ;; ++ + gnu*) + version_type=linux + need_lib_prefix=no +@@ -17565,15 +17776,22 @@ hpux9* | hpux10* | hpux11*) postinstall_cmds='chmod 555 $lib' ;; @@ -685,7 +841,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ esac need_lib_prefix=no need_version=no -@@ -17650,11 +17828,11 @@ knetbsd*-gnu) +@@ -17650,11 +17868,11 @@ knetbsd*-gnu) ;; netbsd*) @@ -699,7 +855,7 @@ $NetBSD: patch-ad,v 1.19 2004/11/11 22:29:03 tv Exp $ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else -@@ -17685,10 +17863,10 @@ nto-qnx*) +@@ -17685,10 +17903,10 @@ nto-qnx*) ;; openbsd*) |