summaryrefslogtreecommitdiff
path: root/net/appkonference/files/patch-Makefile
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-08-21 23:29:37 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-08-21 23:29:37 +0000
commitdb14b9f38a9cc7de99fc52c04ada0a43a911b26d (patch)
treede547461edc29a7d9d85d29a32c992e11d16bd04 /net/appkonference/files/patch-Makefile
parentRemove expired port: (diff)
- Remove net/asterisk16, net/asterisk16-addons, japanese/asterisk16-sounds
- Update net/appkonference to 2.1 to make it work with net/asterisk [1] - Switch www/bigbluebutton to net/asterisk - While here fix typo in www/xxxterm's MOVED entry PR: ports/169038 [1] Approved by: maintainer [1]
Diffstat (limited to 'net/appkonference/files/patch-Makefile')
-rw-r--r--net/appkonference/files/patch-Makefile42
1 files changed, 24 insertions, 18 deletions
diff --git a/net/appkonference/files/patch-Makefile b/net/appkonference/files/patch-Makefile
index 161f07a486d5..836e71c41710 100644
--- a/net/appkonference/files/patch-Makefile
+++ b/net/appkonference/files/patch-Makefile
@@ -1,23 +1,29 @@
---- Makefile.orig 2010-10-23 00:28:54.000000000 +0000
-+++ Makefile 2010-10-23 00:31:39.000000000 +0000
-@@ -18,9 +18,9 @@
- #
+--- ./Makefile.orig 2012-06-13 14:10:52.160359057 +0200
++++ ./Makefile 2012-06-13 14:13:01.635359504 +0200
+@@ -16,11 +16,11 @@
+ ASTERISK_SRC_DIR =
- INSTALL_PREFIX :=
--INSTALL_MODULES_DIR := $(INSTALL_PREFIX)/usr/lib/asterisk/modules
-+INSTALL_MODULES_DIR := $(INSTALL_PREFIX)/${LOCALBASE}/lib/asterisk/modules
+ # asterisk release or subversion working copy
+-ASTERISK_SRC_VERSION = $(shell if [ -e $(ASTERISK_SRC_DIR)/.version ] ; then echo release; elif [ -e $(ASTERISK_SRC_DIR)/.svn ] ; then echo subversion; else echo unknown; fi)
++ASTERISK_SRC_VERSION = release
--ASTERISK_INCLUDE_DIR ?= ../asterisk/include
-+ASTERISK_INCLUDE_DIR ?= ${LOCALBASE}/include
+ # asterisk release version or subversion branch
+ ifeq ($(ASTERISK_SRC_VERSION),release)
+- ASTERISK = $(shell cat $(ASTERISK_SRC_DIR)/.version | cut -d "." -f1,2 | sed -e 's/\.//')
++ ASTERISK = 18
+ else
+ ifeq ($(ASTERISK_SRC_VERSION),subversion)
+ ASTERISK = $(shell svn info $(ASTERISK_SRC_DIR) | grep URL | sed -e 's:^.*/::' | cut -d "." -f 1,2 | sed -e 's/\.//')
+@@ -31,10 +31,10 @@
+ endif
- RELEASE = 1.5
+ # asterisk include directory
+-ASTERISK_INCLUDE_DIR = $(ASTERISK_SRC_DIR)/include
++ASTERISK_INCLUDE_DIR = ${LOCALBASE}/include
-@@ -157,7 +157,7 @@
- $(RM) $(TARGET)
+ # asterisk module directory
+-INSTALL_MODULES_DIR = /usr/lib/asterisk/modules
++INSTALL_MODULES_DIR = ${LOCALBASE}/lib/asterisk/modules
- $(TARGET): $(OBJS)
-- $(CC) -pg $(SOLINK) -o $@ $(OBJS)
-+ $(CC) $(SOLINK) -o $@ $(OBJS)
-
- vad_test: vad_test.o libspeex/preprocess.o libspeex/misc.o libspeex/smallft.o
- $(CC) $(PROFILE) -o $@ $^ -lm
+ # module release
+ RELEASE = 2.1 \ No newline at end of file