aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/asterisk-bristuff/Makefile6
-rw-r--r--net/asterisk-bristuff/pkg-plist2
-rw-r--r--net/asterisk/Makefile6
-rw-r--r--net/asterisk/pkg-plist2
-rw-r--r--net/asterisk10/Makefile6
-rw-r--r--net/asterisk10/pkg-plist2
-rw-r--r--net/asterisk12/Makefile6
-rw-r--r--net/asterisk12/pkg-plist2
-rw-r--r--net/asterisk14/Makefile6
-rw-r--r--net/asterisk14/pkg-plist2
-rw-r--r--net/asterisk16/Makefile6
-rw-r--r--net/asterisk16/pkg-plist2
12 files changed, 42 insertions, 6 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile
index 16490ad85220..3d506227b582 100644
--- a/net/asterisk-bristuff/Makefile
+++ b/net/asterisk-bristuff/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
diff --git a/net/asterisk-bristuff/pkg-plist b/net/asterisk-bristuff/pkg-plist
index 702370ab9fa7..3af861f7a135 100644
--- a/net/asterisk-bristuff/pkg-plist
+++ b/net/asterisk-bristuff/pkg-plist
@@ -342,7 +342,7 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-lib/asterisk/modules/res_config_odbc.so
+%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index 16490ad85220..3d506227b582 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/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
diff --git a/net/asterisk/pkg-plist b/net/asterisk/pkg-plist
index 702370ab9fa7..3af861f7a135 100644
--- a/net/asterisk/pkg-plist
+++ b/net/asterisk/pkg-plist
@@ -342,7 +342,7 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-lib/asterisk/modules/res_config_odbc.so
+%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile
index 16490ad85220..3d506227b582 100644
--- a/net/asterisk10/Makefile
+++ b/net/asterisk10/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
diff --git a/net/asterisk10/pkg-plist b/net/asterisk10/pkg-plist
index 702370ab9fa7..3af861f7a135 100644
--- a/net/asterisk10/pkg-plist
+++ b/net/asterisk10/pkg-plist
@@ -342,7 +342,7 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-lib/asterisk/modules/res_config_odbc.so
+%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
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
diff --git a/net/asterisk12/pkg-plist b/net/asterisk12/pkg-plist
index 702370ab9fa7..3af861f7a135 100644
--- a/net/asterisk12/pkg-plist
+++ b/net/asterisk12/pkg-plist
@@ -342,7 +342,7 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-lib/asterisk/modules/res_config_odbc.so
+%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
diff --git a/net/asterisk14/Makefile b/net/asterisk14/Makefile
index 16490ad85220..3d506227b582 100644
--- a/net/asterisk14/Makefile
+++ b/net/asterisk14/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
diff --git a/net/asterisk14/pkg-plist b/net/asterisk14/pkg-plist
index 702370ab9fa7..3af861f7a135 100644
--- a/net/asterisk14/pkg-plist
+++ b/net/asterisk14/pkg-plist
@@ -342,7 +342,7 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-lib/asterisk/modules/res_config_odbc.so
+%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 16490ad85220..3d506227b582 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/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
diff --git a/net/asterisk16/pkg-plist b/net/asterisk16/pkg-plist
index 702370ab9fa7..3af861f7a135 100644
--- a/net/asterisk16/pkg-plist
+++ b/net/asterisk16/pkg-plist
@@ -342,7 +342,7 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-lib/asterisk/modules/res_config_odbc.so
+%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so