blob: b1d7cb84584548e5332273f44c4214e6d20068ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Usual patch to produce Linux-like .so files on FreeBSD
diff -ur curl-7.26.0/ltmain.sh misc/build/curl-7.26.0/ltmain.sh
--- a/ltmain.sh 2012-07-02 13:28:51.298994493 +0200
+++ b/ltmain.sh 2012-07-02 13:42:46.511039769 +0200
@@ -7334,13 +7334,13 @@
#
case $version_type in
# correct linux to gnu/linux during the next big refactor
- darwin|linux|osf|windows|none)
+ darwin|linux|osf|windows|freebsd-aout|freebsd-elf|none)
func_arith $number_major + $number_minor
current=$func_arith_result
age="$number_minor"
revision="$number_revision"
;;
- freebsd-aout|freebsd-elf|qnx|sunos)
+ qnx|sunos)
current="$number_major"
revision="$number_minor"
age="0"
@@ -7420,8 +7420,8 @@
;;
freebsd-elf)
- major=".$current"
- versuffix=".$current"
+ major=.`expr $current - $age`
+ versuffix="$major"
;;
irix | nonstopux)
|