diff options
author | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-09-19 14:47:21 +0000 |
---|---|---|
committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-09-19 14:47:21 +0000 |
commit | a95d658838ffbba51697a06f701b88e9bd49285f (patch) | |
tree | face74b4d2e7c7b36d829539f220e24d65edf8e5 /net/kamailio/files/patch-src_Makefile.defs | |
parent | devel/chromium-gn: suggest using devel/gn (diff) |
net/kamailio: Update to 5.4.1
Changelog: https://www.kamailio.org/pub/kamailio/5.4.1/ChangeLog
PR: 249393
Submitted by: Dmitry Wagin <dmitry.wagin@ya.ru> (maintainer)
Event: September 2020 Bugathon
Diffstat (limited to 'net/kamailio/files/patch-src_Makefile.defs')
-rw-r--r-- | net/kamailio/files/patch-src_Makefile.defs | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/net/kamailio/files/patch-src_Makefile.defs b/net/kamailio/files/patch-src_Makefile.defs index 32033cd14e4f..f67638f63b3a 100644 --- a/net/kamailio/files/patch-src_Makefile.defs +++ b/net/kamailio/files/patch-src_Makefile.defs @@ -1,4 +1,4 @@ ---- src/Makefile.defs.orig 2020-07-29 10:22:39 UTC +--- src/Makefile.defs.orig 2020-09-01 08:11:08 UTC +++ src/Makefile.defs @@ -257,7 +257,7 @@ YACC := $(shell echo "$${YACC}") @@ -16,9 +16,9 @@ - CC_NAME=gcc + CC_NAME=clang RPAREN=) - CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version|head -n 1|\ + CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version 2>/dev/null|head -n 1|\ sed -e 's/([^$(RPAREN)]*)//g' \ -@@ -456,7 +456,7 @@ LIBDIR ?= +@@ -458,7 +458,7 @@ LIBDIR ?= ifeq ($(LIBDIR),) ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/') ifeq ($(ARCHBSZ),64b) @@ -27,18 +27,3 @@ else LIBDIR = lib endif -@@ -1979,12 +1979,11 @@ ifeq ($(OS), freebsd) - ifeq ($(RAW_SOCKS), yes) - C_DEFS+= -DUSE_RAW_SOCKS - endif -+ LIBS= -lm # resolv and dlopen is in libc - ifneq ($(found_lock_method), yes) - C_DEFS+= -DUSE_PTHREAD_MUTEX # try pthread sems - found_lock_method=yes -- LIBS+= -pthread #dlopen is in libc -- else -- LIBS= #dlopen is in libc -+ LIBS+= -pthread - endif - # check for ver >= 4.1 - ifeq ($(shell [ $(OSREL_N) -gt 4001 ] && echo has_kqueue), has_kqueue) |