Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Jan 2009 12:41:39 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130182: [PATCH] audio/snack switch to USE_TCL
Message-ID:  <20090105114139.BBC2F4AD55@mail.vx.sk>
Resent-Message-ID: <200901051150.n05Bo19x036928@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130182
>Category:       ports
>Synopsis:       [PATCH] audio/snack switch to USE_TCL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 05 11:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090105114139.BBC2F4AD55>