aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk10/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2007-07-27 10:41:10 +0800
committersobomax <sobomax@FreeBSD.org>2007-07-27 10:41:10 +0800
commitb89e672113f0abbd70e1fb2b5729bd8790136bc8 (patch)
tree47f1e9fb3e37885431d62e11d4cce88f5b434de4 /net/asterisk10/Makefile
parent334b846f8761b87654c176b85a3e539756b03f04 (diff)
downloadfreebsd-ports-gnome-b89e672113f0abbd70e1fb2b5729bd8790136bc8.tar.gz
freebsd-ports-gnome-b89e672113f0abbd70e1fb2b5729bd8790136bc8.tar.zst
freebsd-ports-gnome-b89e672113f0abbd70e1fb2b5729bd8790136bc8.zip
Update to 1.4.9.
Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ ) Enable SQLite support. PR: 114720 Submitted by: VipeR
Diffstat (limited to 'net/asterisk10/Makefile')
-rw-r--r--net/asterisk10/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile
index 732667320e8b..89af2f33a488 100644
--- a/net/asterisk10/Makefile
+++ b/net/asterisk10/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= asterisk
-PORTVERSION= 1.4.8
+PORTVERSION= 1.4.9
CATEGORIES= net
MASTER_SITES= http://ftp.digium.com/pub/asterisk/ \
http://ftp.digium.com/pub/asterisk/old-releases/
@@ -45,7 +45,8 @@ OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \
SNMP "Enable SNMP support" on \
H323 "Enable H.323 support" on \
FREETDS "Enable FreeTDS support" on \
- JABBER "Enable Jabber and Gtalk support" on
+ JABBER "Enable Jabber and Gtalk support" on \
+ SQLITE "Enable SQLITE support" on
.include <bsd.port.pre.mk>
@@ -144,6 +145,15 @@ CONFIGURE_ARGS+= --with-iksemel
LIB_DEPENDS+= iksemel.3:${PORTSDIR}/textproc/iksemel
.endif
+.if defined(WITHOUT_SQLITE)
+PLIST_SUB+= WITH_SQLITE="@comment "
+CONFIGURE_ARGS+= --without-sqlite
+.else
+PLIST_SUB+= WITH_SQLITE=""
+CONFIGURE_ARGS+= --with-sqlite
+LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample