aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk-bristuff
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-11-29 01:42:27 +0800
committerfjoe <fjoe@FreeBSD.org>2006-11-29 01:42:27 +0800
commit17071bab074e131c67e4c7ca6cff4d98bbdeb36e (patch)
treea3bf085cdcaff5d6b19cacbb3ab507a3a7177d7c /net/asterisk-bristuff
parent174edb0431b8c1a7ac4385378fa17ff8964cffc5 (diff)
downloadfreebsd-ports-gnome-17071bab074e131c67e4c7ca6cff4d98bbdeb36e.tar.gz
freebsd-ports-gnome-17071bab074e131c67e4c7ca6cff4d98bbdeb36e.tar.zst
freebsd-ports-gnome-17071bab074e131c67e4c7ca6cff4d98bbdeb36e.zip
- Fix WITHOUT_ODBC [1]
- Remove NEWGCC option - Bump PORTREVISION Submitted by: dinoex [1]
Diffstat (limited to 'net/asterisk-bristuff')
-rw-r--r--net/asterisk-bristuff/Makefile7
-rw-r--r--net/asterisk-bristuff/pkg-plist4
2 files changed, 3 insertions, 8 deletions
diff --git a/net/asterisk-bristuff/Makefile b/net/asterisk-bristuff/Makefile
index 9ae81a11a1ff..8eb70bb20404 100644
--- a/net/asterisk-bristuff/Makefile
+++ b/net/asterisk-bristuff/Makefile
@@ -7,6 +7,7 @@
PORTNAME= asterisk
PORTVERSION= 1.2.13
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
@@ -90,12 +91,6 @@ 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
${REINPLACE_CMD} -e 's,^#include <libpri\.h>,#include <libpri-bristuff.h>,' ${WRKSRC}/channels/chan_zap.c
diff --git a/net/asterisk-bristuff/pkg-plist b/net/asterisk-bristuff/pkg-plist
index b50ac4c43495..4744c2acfff2 100644
--- a/net/asterisk-bristuff/pkg-plist
+++ b/net/asterisk-bristuff/pkg-plist
@@ -355,13 +355,13 @@ lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
-%%NEWGCC%%lib/asterisk/modules/res_config_odbc.so
+%%WITH_ODBC%%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
lib/asterisk/modules/res_monitor.so
lib/asterisk/modules/res_musiconhold.so
-lib/asterisk/modules/res_odbc.so
+%%WITH_ODBC%%lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_watchdog.so
sbin/asterisk
sbin/astgenkey