summaryrefslogtreecommitdiff
path: root/net/kamailio/files/patch-src_Makefile.defs
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2017-05-31 13:23:26 +0000
committerKurt Jaeger <pi@FreeBSD.org>2017-05-31 13:23:26 +0000
commit6767e9c9afc49c6777e8b385903f303914ec2f5f (patch)
tree25acfc88d39e0e90d06182fe3b8a3463ffbb3511 /net/kamailio/files/patch-src_Makefile.defs
parentUpdate pango to 1.40.6. (diff)
net/kamailio: update 4.4.3 -> 5.0.1
This is a major release, introducing a consistent set of new features as well as improvements to existing components. Reviewed by: Alexey V. Panfilov <ports@subnets.ru> Relnotes: https://www.kamailio.org/w/kamailio-v5-0-0-release-notes/
Diffstat (limited to 'net/kamailio/files/patch-src_Makefile.defs')
-rw-r--r--net/kamailio/files/patch-src_Makefile.defs47
1 files changed, 47 insertions, 0 deletions
diff --git a/net/kamailio/files/patch-src_Makefile.defs b/net/kamailio/files/patch-src_Makefile.defs
new file mode 100644
index 000000000000..ac730a0ad841
--- /dev/null
+++ b/net/kamailio/files/patch-src_Makefile.defs
@@ -0,0 +1,47 @@
+--- src/Makefile.defs.orig 2017-04-21 13:52:06 UTC
++++ src/Makefile.defs
+@@ -208,7 +208,7 @@ YACC := $(shell echo "$${YACC}")
+
+ # find compiler name & version
+ ifeq ($(CC),)
+- CC=gcc
++ CC=clang
+ endif
+ LD= $(CC)
+ CC_LONGVER:=$(shell if $(CC) -v 2>/dev/null; then \
+@@ -222,7 +222,7 @@ MKTAGS=ctags
+ #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' \
+@@ -386,7 +386,7 @@ LIBDIR ?=
+ ifeq ($(LIBDIR),)
+ ARCHBSZ= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')
+ ifeq ($(ARCHBSZ),64b)
+- LIBDIR = lib64
++ LIBDIR = lib
+ else
+ LIBDIR = lib
+ endif
+@@ -460,7 +460,7 @@ doxygen_dir=doc/doxygen
+
+ BASEDIR ?= $(DESTDIR)
+ basedir = $(BASEDIR)
+-RUNBASEDIR ?= $(DESTDIR)
++RUNBASEDIR ?= /
+ runbasedir = $(RUNBASEDIR)
+
+ # install location
+@@ -1722,7 +1722,7 @@ ifeq ($(YACC),)
+ endif
+ YACC_FLAGS=-d -b core/cfg
+ # on solaris add -lxnet (e.g. LIBS= -lxnet)
+-LIBS= -ldl -lresolv
++LIBS=
+ LIB_PREFIX:=lib
+ LIB_SUFFIX:=.so
+