aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk14-addons/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk14-addons/Makefile')
-rw-r--r--net/asterisk14-addons/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/asterisk14-addons/Makefile b/net/asterisk14-addons/Makefile
index 58230e92fad..701172905b9 100644
--- a/net/asterisk14-addons/Makefile
+++ b/net/asterisk14-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