aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk12/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk12/Makefile')
-rw-r--r--net/asterisk12/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/asterisk12/Makefile b/net/asterisk12/Makefile
index 16490ad85220..3d506227b582 100644
--- a/net/asterisk12/Makefile
+++ b/net/asterisk12/Makefile
@@ -93,6 +93,12 @@ LIB_DEPENDS+= spandsp.0:${PORTSDIR}/comms/spandsp
PLIST_SUB+= WITH_FAX=""
.endif
+.if ${OSVERSION} >= 500036
+PLIST_SUB+= NEWGCC=""
+.else
+PLIST_SUB+= NEWGCC="@comment "
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample