aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk-addons/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2008-03-04 03:49:47 +0800
committersobomax <sobomax@FreeBSD.org>2008-03-04 03:49:47 +0800
commit71313bff6ec55e0179c33702fd7bc357bca57192 (patch)
tree306449157bee5c41545281aa02dd26e5e26648ca /net/asterisk-addons/Makefile
parentbce6e2da0a0c53b24c3c009d5929706f9c14dbe4 (diff)
downloadfreebsd-ports-gnome-71313bff6ec55e0179c33702fd7bc357bca57192.tar.gz
freebsd-ports-gnome-71313bff6ec55e0179c33702fd7bc357bca57192.tar.zst
freebsd-ports-gnome-71313bff6ec55e0179c33702fd7bc357bca57192.zip
o Update to 1.4.6;
o make it possible to build port when asterisk has been compiled with codec negotiation patch. Approved by: MAINTAINER
Diffstat (limited to 'net/asterisk-addons/Makefile')
-rw-r--r--net/asterisk-addons/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/asterisk-addons/Makefile b/net/asterisk-addons/Makefile
index 58230e92fad2..701172905b98 100644
--- a/net/asterisk-addons/Makefile
+++ b/net/asterisk-addons/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= asterisk-addons
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.6
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/releases/
@@ -32,6 +32,12 @@ PLIST_SUB+= SAMPLE_CONFIG=""
PLIST_SUB+= SAMPLE_CONFIG="@comment "
.endif
+pre-configure:
+ if ${GREP} -sq fixup_codecs ${LOCALBASE}/include/asterisk/channel.h; \
+ then \
+ ${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/codecnego.diff; \
+ fi
+
post-install:
.if defined(WITH_SAMPLE_CONFIG)
@cd ${WRKSRC} && ${GMAKE} samples