summaryrefslogtreecommitdiff
path: root/net/asterisk22/files/patch-main_Makefile
diff options
context:
space:
mode:
authorOleksandr Kryvulia <o.kryvulia@flex-it.com.ua>2025-01-14 06:44:12 +0200
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2025-01-19 01:42:50 +0800
commitd2de2e1ecfc00e3d271ef8a966654e7cf8f72e07 (patch)
tree2a0153f11505c10842cd9bc32d36f61b50923de5 /net/asterisk22/files/patch-main_Makefile
parentgames/endless-sky-high-dpi: update 0.10.4 → 0.10.10 (diff)
Add net/asterisk22: LTS version of Asterisk PBX software
PR: 284056 Sponsored by: FLEX-IT LLC
Diffstat (limited to 'net/asterisk22/files/patch-main_Makefile')
-rw-r--r--net/asterisk22/files/patch-main_Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/asterisk22/files/patch-main_Makefile b/net/asterisk22/files/patch-main_Makefile
new file mode 100644
index 000000000000..62f7a4504a4e
--- /dev/null
+++ b/net/asterisk22/files/patch-main_Makefile
@@ -0,0 +1,14 @@
+--- main/Makefile.orig 2022-08-18 15:18:29 UTC
++++ main/Makefile
+@@ -79,9 +79,8 @@ else
+ endif
+
+ ifeq ($(OSARCH),FreeBSD)
+- # -V is understood by BSD Make, not by GNU make.
+- 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)
++ AST_LIBS+=-pthread
++ CRYPT_LIB=-lcrypt
+ AST_LIBS+=-lcrypto
+ endif
+