pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: libtool without pkgsrc on DragonFly and no RPATH (fwd)
The patch that I used yesterday successfully for numerous libraries (over
40 different projects built and installed on DragonFly) follows:
--- /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/
Home |
Main Index |
Thread Index |
Old Index