Hi, could you please commit the attached patch (for branch-1-5)? It fixes shared library versioning on FreeBSD.
Btw, I could not find the part of HEAD which numbers shared libraries, maybe you can point it out for me? Thanks, Jean-Yves Lefort PS: please cc me. -- Jean-Yves Lefort [EMAIL PROTECTED] http://lefort.be.eu.org/
Index: ltmain.in
===================================================================
RCS file: /sources/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.125
diff -u -r1.334.2.125 ltmain.in
--- ltmain.in 20 Mar 2006 20:41:11 -0000 1.334.2.125
+++ ltmain.in 5 May 2006 19:48:26 -0000
@@ -3224,12 +3224,12 @@
# which has an extra 1 added just for fun
#
case $version_type in
- darwin|linux|osf|windows)
+ darwin|freebsd-elf|linux|osf|windows)
current=`expr $number_major + $number_minor`
age="$number_minor"
revision="$number_revision"
;;
- freebsd-aout|freebsd-elf|sunos)
+ freebsd-aout|sunos)
current="$number_major"
revision="$number_minor"
age="0"
@@ -3305,8 +3305,8 @@
;;
freebsd-elf)
- major=".$current"
- versuffix=".$current";
+ major=.`expr $current - $age`
+ versuffix="$major";
;;
irix | nonstopux)
pgpA58UF4cJ7u.pgp
Description: PGP signature
