mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-15 04:51:19 +02:00
54 lines
1.1 KiB
Bash
54 lines
1.1 KiB
Bash
--- ./ltmain.sh.orig 2016-09-30 11:33:33.000000000 +0200
|
|
+++ ./ltmain.sh 2019-12-25 15:36:43.011886000 +0200
|
|
@@ -7054,8 +7054,16 @@
|
|
continue
|
|
;;
|
|
|
|
+ -pthread)
|
|
+ compile_command="$compile_command -pthread"
|
|
+ finalize_command="$finalize_command -pthread"
|
|
+ compiler_flags="$compiler_flags -pthread"
|
|
+ continue
|
|
+ ;;
|
|
+
|
|
-module)
|
|
module=yes
|
|
+ build_old_libs=no
|
|
continue
|
|
;;
|
|
|
|
@@ -8805,13 +8813,13 @@
|
|
#
|
|
case $version_type in
|
|
# correct linux to gnu/linux during the next big refactor
|
|
- darwin|freebsd-elf|linux|osf|windows|none)
|
|
+ darwin|linux|osf|windows|none)
|
|
func_arith $number_major + $number_minor
|
|
current=$func_arith_result
|
|
age=$number_minor
|
|
revision=$number_revision
|
|
;;
|
|
- freebsd-aout|qnx|sunos)
|
|
+ freebsd*|qnx|sunos)
|
|
current=$number_major
|
|
revision=$number_minor
|
|
age=0
|
|
@@ -8891,15 +8899,9 @@
|
|
esac
|
|
;;
|
|
|
|
- freebsd-aout)
|
|
+ freebsd8)
|
|
major=.$current
|
|
- versuffix=.$current.$revision
|
|
- ;;
|
|
-
|
|
- freebsd-elf)
|
|
- func_arith $current - $age
|
|
- major=.$func_arith_result
|
|
- versuffix=$major.$age.$revision
|
|
+ versuffix=.$current
|
|
;;
|
|
|
|
irix | nonstopux)
|