aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk18/files/patch-main_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk18/files/patch-main_Makefile')
-rw-r--r--net/asterisk18/files/patch-main_Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/net/asterisk18/files/patch-main_Makefile b/net/asterisk18/files/patch-main_Makefile
index dd0dcda5ce7f..62f7a4504a4e 100644
--- a/net/asterisk18/files/patch-main_Makefile
+++ b/net/asterisk18/files/patch-main_Makefile
@@ -1,16 +1,14 @@
---- main/Makefile.orig 2020-07-09 15:39:17 UTC
+--- main/Makefile.orig 2022-08-18 15:18:29 UTC
+++ main/Makefile
-@@ -80,9 +80,12 @@ endif
+@@ -79,9 +79,8 @@ else
+ endif
ifeq ($(OSARCH),FreeBSD)
- # -V is understood by BSD Make, not by GNU make.
+- # -V is understood by BSD Make, not by GNU make.
- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
-+ BSDVERSION=$(OSVERSION)
-+ BSDVERSION?=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
- AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
-+ CRYPT_LIB=$(shell if test $(BSDVERSION) -ge 1200001 ; then echo "-lcrypt"; fi)
+- AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
++ AST_LIBS+=-pthread
++ CRYPT_LIB=-lcrypt
AST_LIBS+=-lcrypto
-+ AST_LIBS+=%%LIBSYSINFO%%
endif
- ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)