From mm@mail.vx.sk  Mon Jan  5 11:41:44 2009
Return-Path: <mm@mail.vx.sk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3AA251065670
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jan 2009 11:41:44 +0000 (UTC)
	(envelope-from mm@mail.vx.sk)
Received: from mail.vx.sk (neo.vx.sk [194.160.65.240])
	by mx1.freebsd.org (Postfix) with ESMTP id 815DC8FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jan 2009 11:41:43 +0000 (UTC)
	(envelope-from mm@mail.vx.sk)
Received: from localhost (localhost [127.0.0.1])
	by mail.vx.sk (Postfix) with ESMTP id 636E94AD69
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Jan 2009 12:41:42 +0100 (CET)
Received: from mail.vx.sk ([127.0.0.1])
	by localhost (mail.vx.sk [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id qXTTzW4X1-gU for <FreeBSD-gnats-submit@freebsd.org>;
	Mon,  5 Jan 2009 12:41:39 +0100 (CET)
Received: by mail.vx.sk (Postfix, from userid 1001)
	id BBC2F4AD55; Mon,  5 Jan 2009 12:41:39 +0100 (CET)
Message-Id: <20090105114139.BBC2F4AD55@mail.vx.sk>
Date: Mon,  5 Jan 2009 12:41:39 +0100 (CET)
From: Martin Matuska <mm@FreeBSD.org>
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] audio/snack switch to USE_TCL
X-Send-Pr-Version: 3.113
X-GNATS-Notify: simon@olofsson.de

>Number:         130182
>Category:       ports
>Synopsis:       [PATCH] audio/snack switch to USE_TCL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 05 11:50:01 UTC 2009
>Closed-Date:    Mon Jan 05 14:06:52 UTC 2009
>Last-Modified:  Mon Jan 05 14:06:52 UTC 2009
>Originator:     RebuM
>Release:        FreeBSD 7.1-RELEASE i386/amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE i386/amd64
>Description:
- switch to USE_TCL infrastructure
- add support for tcl85
>How-To-Repeat:
>Fix:
Index: ports/audio/snack/Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/snack/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- ports/audio/snack/Makefile	21 Aug 2008 06:16:19 -0000	1.31
+++ ports/audio/snack/Makefile	5 Jan 2009 11:39:02 -0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	snack
 PORTVERSION=	2.2.10
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	audio tcl tk
 MASTER_SITES=	http://www.speech.kth.se/snack/dist/
 DISTNAME=	${PORTNAME}${PORTVERSION}
@@ -16,19 +16,13 @@
 MAINTAINER=	simon@olofsson.de
 COMMENT=	A sound toolkit for scripting languages
 
-LIB_DEPENDS=	tk84.1:${PORTSDIR}/x11-toolkits/tk84
-
 WRKSRC=		${WRKDIR}/${DISTNAME}/unix
 
+USE_TK=		84+
+
 OPTIONS=	VORBIS "Support for OGG/Vorbis Audio" off
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-tcl=${LOCALBASE}/lib/tcl8.4 \
-		--with-tk=${LOCALBASE}/lib/tk8.4
-MAKE_ENV=	prefix=${PREFIX} exec_prefix=${PREFIX}
-
-CFLAGS+=	-I${LOCALBASE}/include/tcl8.4 -I${LOCALBASE}/include/tk8.4 \
-		-I${LOCALBASE}/include
 
 .if !defined(NOPORTDOCS)
 PORTDOCS=	*
@@ -37,6 +31,12 @@
 PLIST_SUB=	SNACK_VER=${PORTVERSION:R}
 
 .include <bsd.port.pre.mk>
+CONFIGURE_ARGS=	--with-tcl=${TCL_LIBDIR} \
+		--with-tk=${TK_LIBDIR}
+MAKE_ENV=	prefix=${PREFIX} exec_prefix=${PREFIX}
+
+CFLAGS+=	-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
+		-I${LOCALBASE}/include
 
 .if defined(WITH_VORBIS)
 LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Jan 5 11:50:18 UTC 2009 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130182 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Mon Jan 5 11:50:23 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: simon@olofsson.de
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/130182: [PATCH] audio/snack switch to USE_TCL
Date: Mon, 5 Jan 2009 11:50:21 UT

 Maintainer of audio/snack,
 
 Please note that PR ports/130182 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/130182
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Simon Olofsson <simon@olofsson.de>
To: bug-followup@FreeBSD.org
Cc: mm@FreeBSD.org
Subject: Re: ports/130182: [PATCH] audio/snack switch to USE_TCL
Date: Mon, 05 Jan 2009 13:42:28 +0100

 Approved. 
 
 Thanks,
 Simon

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/130182: commit references a PR
Date: Mon,  5 Jan 2009 13:58:12 +0000 (UTC)

 mm          2009-01-05 13:58:02 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio/snack          Makefile 
   Log:
   - switch to USE_TCL infrastructure
   - add support for tcl85
   - bump PORTREVISION
   
   PR:             ports/130182
   Submitted by:   mm
   Approved by:    Simon Olofsson <simon@olofsson.de> (maintainer)
   
   Revision  Changes    Path
   1.32      +9 -9      ports/audio/snack/Makefile
 _______________________________________________
 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"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: mm 
State-Changed-When: Mon Jan 5 14:06:51 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=130182 
>Unformatted:
