diff options
Diffstat (limited to 'net/asterisk22/files/patch-main_Makefile')
-rw-r--r-- | net/asterisk22/files/patch-main_Makefile | 14 |
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 + |