From owner-freebsd-tcltk@FreeBSD.ORG Thu Sep 19 13:16:47 2013 Return-Path: Delivered-To: tcltk@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9024A113 for ; Thu, 19 Sep 2013 13:16:47 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel09.rubas.ch (cpanel09.rubas.ch [195.182.222.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4A9452D41 for ; Thu, 19 Sep 2013 13:16:47 +0000 (UTC) Received: from 98-41.199-178.cust.bluewin.ch ([178.199.41.98]:61578 helo=gahrfit.gahr.ch) by cpanel09.rubas.ch with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VMe67-0026gW-OV; Thu, 19 Sep 2013 15:16:44 +0200 Date: Thu, 19 Sep 2013 15:16:40 +0200 From: Pietro Cerutti To: David Wolfskill Subject: Re: [HEADS UP] Tcl/Tk moves to the USES framework Message-ID: <20130919131640.GM86832@gahrfit.gahr.ch> References: <20130919120004.GL86832@gahrfit.gahr.ch> <20130919124623.GZ1560@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RNRUMt0ZF5Yaq/Aq" Content-Disposition: inline In-Reply-To: <20130919124623.GZ1560@albert.catwhisker.org> X-PGP-Key: 0x9571F78E X-PGP-Fingerprint: 1203 92B5 3919 AF84 9B97 28D6 C0C2 6A98 9571 F78E User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel09.rubas.ch X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Get-Message-Sender-Via: cpanel09.rubas.ch: authenticated_id: gahr@gahr.ch Cc: tcltk@FreeBSD.org X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tcltk@FreeBSD.org List-Id: FreeBSD-specific Tcl/Tk discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 13:16:47 -0000 --RNRUMt0ZF5Yaq/Aq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013-Sep-19, 05:46, David Wolfskill wrote: > On Thu, Sep 19, 2013 at 02:00:04PM +0200, Pietro Cerutti wrote: > > All, > >=20 > > as of r327607 [1], Tcl/Tk ports can use the new USES framework, as > > described in [2]. > >=20 > > We (tcltk@) could use your help to transition from the deprecated > > USE_TCL and USE_TK variables to the new framework. > > .... >=20 > I'm still updating ports -- libxul & firefox, particularly -- on my > laptop after updating /usr/ports to r327610, so I haven't yet had a > chance to actually test this, but it *looks* to me as if: >=20 > diff -ru /usr/ports/astro/gpsman/Makefile gpsman/Makefile > --- /usr/ports/astro/gpsman/Makefile 2013-06-21 05:10:45.000000000 -07= 00 > +++ gpsman/Makefile 2013-09-19 05:41:30.000000000 -0700 > @@ -14,7 +14,7 @@ > MAINTAINER=3D david@catwhisker.org > COMMENT=3D A Tcl/Tk-based GPS management utility > =20 > -USE_TK_RUN=3D 84+ > +USES+=3D tk:84+ > =20 > WRKSRC=3D ${WRKDIR}/${PORTNAME}-${PORTVERSION} > SUB_FILES=3D pkg-message > g1-227(9.2-P)[3]=20 >=20 >=20 > is what's wanted (for astro/gpsman). >=20 > Am I close? :-} Yes, that's correct. You could also USES+=3Dtk:84+,run to limit it to a run depend. Thanks! --=20 Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp --RNRUMt0ZF5Yaq/Aq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlI6+TgACgkQwMJqmJVx9453AwCeP+AmGSIvDYpB0OtPFGhwMUcd 4dYAn0gDW+k4a+7SnvMzzaHukOq6MEW/ =rfaH -----END PGP SIGNATURE----- --RNRUMt0ZF5Yaq/Aq--