From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 18 17:30:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B8A610656CD for ; Sat, 18 Apr 2009 17:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DCAE28FC1F for ; Sat, 18 Apr 2009 17:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3IHU26j077641 for ; Sat, 18 Apr 2009 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3IHU2V8077638; Sat, 18 Apr 2009 17:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 18 Apr 2009 17:30:02 GMT Resent-Message-Id: <200904181730.n3IHU2V8077638@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alexander V. Chernikov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B467510656BE for ; Sat, 18 Apr 2009 17:22:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4BD8FC13 for ; Sat, 18 Apr 2009 17:22:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n3IHMxh8029696 for ; Sat, 18 Apr 2009 17:22:59 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n3IHMwaQ029689; Sat, 18 Apr 2009 17:22:58 GMT (envelope-from nobody) Message-Id: <200904181722.n3IHMwaQ029689@www.freebsd.org> Date: Sat, 18 Apr 2009 17:22:58 GMT From: "Alexander V. Chernikov" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/133843: Update port net/asterisk16 - add spandsp option/depency X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2009 17:30:05 -0000 >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: