1 Usual patch to produce Linux-like .so files on FreeBSD
3 diff -ur curl-7.26.0/ltmain.sh misc/build/curl-7.26.0/ltmain.sh
4 --- a/ltmain.sh 2012-07-02 13:28:51.298994493 +0200
5 +++ b/ltmain.sh 2012-07-02 13:42:46.511039769 +0200
6 @@ -7334,13 +7334,13 @@
9 # correct linux to gnu/linux during the next big refactor
10 - darwin|linux|osf|windows|none)
11 + darwin|linux|osf|windows|freebsd-aout|freebsd-elf|none)
12 func_arith $number_major + $number_minor
13 current=$func_arith_result
15 revision="$number_revision"
17 - freebsd-aout|freebsd-elf|qnx|sunos)
19 current="$number_major"
20 revision="$number_minor"
27 - versuffix=".$current"
28 + major=.`expr $current - $age`