diff options
Diffstat (limited to 'net/appkonference/files/patch-Makefile')
-rw-r--r-- | net/appkonference/files/patch-Makefile | 42 |
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 |