Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  5 Jan 2009 15:31:44 +0100 (CET)
From:      Martin Matuska <mm@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130190: [PATCH] games/etracer switch to USE_TCL
Message-ID:  <20090105143145.175674ADD7@mail.vx.sk>
Resent-Message-ID: <200901051440.n05Ee1ON064156@freefall.freebsd.org>

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

>Number:         130190
>Category:       ports
>Synopsis:       [PATCH] games/etracer 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 14:40:00 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/games/etracer/Makefile
===================================================================
RCS file: /home/pcvs/ports/games/etracer/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- ports/games/etracer/Makefile	21 Aug 2008 06:17:06 -0000	1.2
+++ ports/games/etracer/Makefile	5 Jan 2009 14:30:47 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=		etracer
 PORTVERSION=		0.4
+PORTREVISION=		1
 CATEGORIES=		games
 MASTER_SITES=		SF/extremetuxracer
 DISTNAME=		extremetuxracer-${PORTVERSION}
@@ -14,17 +15,20 @@
 MAINTAINER=		peter_dunning@dsl.pipex.com
 COMMENT=		The latest and greatest fork of the classic Tux Racer
 
-LIB_DEPENDS=		tcl85:${PORTSDIR}/lang/tcl85 \
-			png.5:${PORTSDIR}/graphics/png \
+LIB_DEPENDS=		png.5:${PORTSDIR}/graphics/png \
 			freetype.9:${PORTSDIR}/print/freetype2
 
 USE_SDL=		mixer sdl
 USE_GL=			gl glu glut
 USE_GMAKE=		yes
 GNU_CONFIGURE=		yes
-CONFIGURE_ARGS=		--with-tcl=${PREFIX}/lib/tcl8.5 \
-			--with-tcl-inc=${PREFIX}/include/tcl8.5 \
+
+USE_TCL=		84+
+
+.include <bsd.port.pre.mk>
+CONFIGURE_ARGS=		--with-tcl="${TCL_LIBDIR}" \
+			--with-tcl-inc="${TCL_INCLUDEDIR}" \
 			--with-gl-libs="${LOCALBASE}/lib" \
 			--with-gl-inc="${LOCALBASE}/include"
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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