libtool-patches
[Top][All Lists]
Advanced

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

libtool.m4 on DragonFly


From: Jeremy C. Reed
Subject: libtool.m4 on DragonFly
Date: Wed, 8 Mar 2006 18:15:06 -0800 (PST)

(Please carbon-copy me on replies.)

Can you please update libtool.m4 for DragonFly support?

I have been using:

--- /home/reed/pkg/share/aclocal/libtool.m4.orig        2006-03-02 
10:18:11.000000000 -0800
+++ /home/reed/pkg/share/aclocal/libtool.m4     2006-03-02 10:21:37.000000000 
-0800
@@ -1415,13 +1415,13 @@
     esac
   fi
   version_type=freebsd-$objformat
-  case $version_type in
-    freebsd-elf*)
+  case $objformat in
+    elf)
       library_names_spec='${libname}${release}${shared_ext}$versuffix 
${libname}${release}${shared_ext} $libname${shared_ext}'
       need_version=no
       need_lib_prefix=no
       ;;
-    freebsd-*)
+    *)
       library_names_spec='${libname}${release}${shared_ext}$versuffix 
$libname${shared_ext}$versuffix'
       need_version=yes
       ;;
@@ -1440,7 +1440,7 @@
     shlibpath_overrides_runpath=no
     hardcode_into_libs=yes
     ;;
-  freebsd*) # from 4.6 on
+  *) # from 4.6 on, and DragonFly
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     ;;


This or something like it should be in official libtool and libtool.m4.

This based on what pkgsrc's manual patch has. Thanks!

 Jeremy C. Reed

                         BSD News, BSD tutorials, BSD links
                         http://www.bsdnewsletter.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]