Files
bsdports/devel/libsigc++/files/patch-x-build-ltmain.sh
2019-12-26 07:26:06 +00:00

37 lines
891 B
Bash

--- ./build/ltmain.sh.orig 2016-09-20 12:13:42.000000000 +0200
+++ ./build/ltmain.sh 2018-08-19 13:27:58.806142000 +0200
@@ -8811,13 +8811,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
@@ -8900,15 +8900,9 @@
esac
;;
- freebsd-aout)
+ freebsd*)
major=.$current
- versuffix=.$current.$revision
- ;;
-
- freebsd-elf)
- func_arith $current - $age
- major=.$func_arith_result
- versuffix=$major.$age.$revision
+ versuffix=.$current
;;
irix | nonstopux)