aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-02-06 22:03:50 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-02-06 22:03:50 +0000
commitf3f135c46f972be562187e47750f3a50c13cd88c (patch)
tree81b35183281fb7e7053b8ce250ee9b14b85c91b5 /net/asterisk
parentbb2e24aa25299a9def5e361167d5bd544b065559 (diff)
downloadports-f3f135c46f972be562187e47750f3a50c13cd88c.tar.gz
ports-f3f135c46f972be562187e47750f3a50c13cd88c.zip
Notes
Diffstat (limited to 'net/asterisk')
-rw-r--r--net/asterisk/Makefile6
-rw-r--r--net/asterisk/pkg-plist2
2 files changed, 7 insertions, 1 deletions
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