Date: Sat, 18 Apr 2009 17:22:58 GMT From: "Alexander V. Chernikov" <melifaro@ipfw.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/133843: Update port net/asterisk16 - add spandsp option/depency Message-ID: <200904181722.n3IHMwaQ029689@www.freebsd.org> Resent-Message-ID: <200904181730.n3IHU2V8077638@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133843
>Category: misc
>Synopsis: Update port net/asterisk16 - add spandsp option/depency
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 18 17:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Alexander V. Chernikov
>Release: 7.1-STABLE
>Organization:
>Environment:
FreeBSD gw.su29.net 7.1-STABLE FreeBSD 7.1-STABLE #6: Sat Mar 7 15:19:22 MSK 2009 root@gw.su29.net:/usr/obj/usr/src/sys/ROUTER amd64
>Description:
Add SPANDSP option to build net/spandsp-devel if we want * to build app_fax module. At the moment spandsp-devel5 can only be used with 1.6, but there is ports/133839 with spandsp-devel upgrade to 0.0.6pre7 which seems to be working with * > 1.6.0.6
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
--- Makefile.orig 2009-04-18 17:10:19.000000000 +0400
+++ Makefile 2009-04-18 21:20:11.000000000 +0400
@@ -55,6 +55,7 @@
GSM "Enable GSM codec" on \
CURL "Enable CURL support" on \
ILBC "Enable iLBC codec" off \
+ SPANDSP "Enable Spandsp faxing support" off \
# CODEC_PATCH "Apply codec negotiation patch" off \
# MISC_PATCHES "Apply additional patches" off
@@ -182,6 +183,12 @@
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
.endif
+.if defined(WITH_SPANDSP)
+LIB_DEPENDS+= spandsp.2:${PORTSDIR}/comms/spandsp-devel
+.else
+CONFIGURE_ARGS+= --without-spandsp
+.endif
+
.if !defined(WITH_CURL)
PLIST_SUB+= WITH_CURL="@comment "
CONFIGURE_ARGS+= --without-curl
>Release-Note:
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904181722.n3IHMwaQ029689>
