From bb2f76c9c33a3256bd267ab6fb8358f804e99adf Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Fri, 19 Sep 2014 18:02:46 +0000 Subject: New port: net/kamailio 4.1.6 Kamailio is an open source SIP proxy server that is capable of handling thousands of up calls in a second. Among the features it provides, are support for TCP, UDP and SCTP, secure communication via TLS for VoIP (voice, video), accounting, the most popular open source databases and much more. Originally starting out as the SIP Express Router (SER) project by the Fraunhofer Society in 2001, the design team got together in 2008, merged old and new source code and rebranded SER to Kamailio. WWW: http://www.kamailio.org/ PR: 181301 Submitted by: Oliver Mahmoudi Reviewed by: marino --- net/kamailio/files/patch-Makefile.defs | 52 ++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 net/kamailio/files/patch-Makefile.defs (limited to 'net/kamailio/files/patch-Makefile.defs') diff --git a/net/kamailio/files/patch-Makefile.defs b/net/kamailio/files/patch-Makefile.defs new file mode 100644 index 000000000000..0602f291f932 --- /dev/null +++ b/net/kamailio/files/patch-Makefile.defs @@ -0,0 +1,52 @@ +--- Makefile.defs.orig 2014-09-18 16:09:15.000000000 +0200 ++++ Makefile.defs 2014-09-19 08:27:49.000000000 +0200 +@@ -265,7 +265,7 @@ + + # find compiler name & version + ifeq ($(CC),) +- CC=gcc ++ CC=clang + endif + LD= $(CC) + CC_LONGVER:=$(shell if $(CC) -v 2>/dev/null; then \ +@@ -279,7 +279,7 @@ + #find-out the compiler's name + + ifneq (,$(findstring gcc, $(CC_LONGVER))) +- CC_NAME=gcc ++ CC_NAME=clang + RPAREN=) + CC_VER:=$(word 1,$(CC)) $(shell $(CC) - --version|head -n 1|\ + sed -e 's/([^$(RPAREN)]*)//g' \ +@@ -432,7 +432,7 @@ + ifeq ($(LIBDIR),) + ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/') + ifeq ($(ARCHBSZ),64b) +- LIBDIR = lib64 ++ LIBDIR = lib + else + LIBDIR = lib + endif +@@ -946,11 +946,8 @@ + ifeq ($(CC_NAME), clang) + $(call set_if_empty,CPU,athlon64) + C_DEFS+=-DCC_GCC_LIKE_ASM +- CFLAGS+=-m32 +- $(CC_OPT) \ +- \ +- -mtune=$(CPU) +- LDFLAGS+=-m32 ++ CFLAGS+=-m32 $(CC_OPT) -mtune=$(CPU) ++ LDFLAGS+=-m32 + else # CC_NAME, clang + ifeq ($(CC_NAME), icc) + C_DEFS+=-DCC_GCC_LIKE_ASM +@@ -1745,7 +1742,7 @@ + endif + YACC_FLAGS=-d -b cfg + # on solaris add -lxnet (e.g. LIBS= -lxnet) +-LIBS= -ldl -lresolv ++LIBS= + LIB_PREFIX:=lib + LIB_SUFFIX:=.so + -- cgit v1.2.3