1 Usual patch to produce Linux-like .so files on FreeBSD
3 --- a/build/ltmain.sh 2008-02-02 22:28:24.000000000 +0900
4 +++ b/build/ltmain.sh 2008-07-08 11:58:42.000000000 +0900
6 revision="$number_revision"
8 freebsd-aout|freebsd-elf|qnx|sunos)
9 - current="$number_major"
10 - revision="$number_minor"
12 + current=`expr $number_major + $number_minor`
14 + revision="$number_revision"
17 func_arith $number_major + $number_minor
23 - versuffix=".$current"
24 + major=.`expr $current - $age`
25 + versuffix="$major.$age.$revision"