freebsd-ports/net/asterisk20/files/patch-main_Makefile
2024-12-17 02:05:21 +08:00

14 lines
427 B
Text

--- 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