From nobody@FreeBSD.org  Sat Apr 18 17:22:59 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B467510656BE
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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" <melifaro@ipfw.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port net/asterisk16 - add spandsp option/depency
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133843
>Category:       ports
>Synopsis:       Update port net/asterisk16 - add spandsp option/depency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 18 17:30:02 UTC 2009
>Closed-Date:    Fri Nov 20 23:46:05 UTC 2009
>Last-Modified:  Fri Nov 20 23:50:04 UTC 2009
>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:
Responsible-Changed-From-To: freebsd-bugs->sobomax 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Apr 18 20:38:33 UTC 2009 
Responsible-Changed-Why:  
ports PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133843 
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Fri Nov 20 23:46:01 UTC 2009 
State-Changed-Why:  
Fixed in 1.6.0.18 version of the port. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133843 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/133843: commit references a PR
Date: Fri, 20 Nov 2009 23:43:20 +0000 (UTC)

 sobomax     2009-11-20 23:43:09 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/asterisk16       Makefile distinfo pkg-plist 
     net/asterisk16/files nocodecnego-patch-Makefile 
                          patch-main::Makefile 
   Log:
   o Update to 1.6.0.18.
   
   o comment section that explicitly includes bsd.port.options.mk, we don't
   need this functionality now, while it creates issues with Makefile.local
   
   PR:     135332
   Reported by:    Piotr Grabowski
   
   o add libexecinfo into the LIB_DEPENDS and fix linking with it.
   
   PR:     139776
   Submitted by:   Alexander V. Chernikov
   
   o add spandsp support (optional, turned off by default).
   
   PR:     133843
   Submitted by:   Alexander V. Chernikov
   
   Revision  Changes    Path
   1.125     +20 -7     ports/net/asterisk16/Makefile
   1.48      +3 -3      ports/net/asterisk16/distinfo
   1.11      +14 -19    ports/net/asterisk16/files/nocodecnego-patch-Makefile
   1.8       +9 -1      ports/net/asterisk16/files/patch-main::Makefile
   1.42      +12 -12    ports/net/asterisk16/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
