[HEADS UP] Tcl/Tk moves to the USES framework

Pietro Cerutti gahr at FreeBSD.org
Thu Sep 19 13:16:47 UTC 2013


On 2013-Sep-19, 05:46, David Wolfskill wrote:
> On Thu, Sep 19, 2013 at 02:00:04PM +0200, Pietro Cerutti wrote:
> > All,
> > 
> > as of r327607 [1], Tcl/Tk ports can use the new USES framework, as
> > described in [2].
> > 
> > We (tcltk@) could use your help to transition from the deprecated
> > USE_TCL and USE_TK variables to the new framework.
> > ....
> 
> 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:
> 
> diff -ru /usr/ports/astro/gpsman/Makefile gpsman/Makefile
> --- /usr/ports/astro/gpsman/Makefile    2013-06-21 05:10:45.000000000 -0700
> +++ gpsman/Makefile     2013-09-19 05:41:30.000000000 -0700
> @@ -14,7 +14,7 @@
>  MAINTAINER=    david at catwhisker.org
>  COMMENT=       A Tcl/Tk-based GPS management utility
>  
> -USE_TK_RUN=    84+
> +USES+= tk:84+
>  
>  WRKSRC=                ${WRKDIR}/${PORTNAME}-${PORTVERSION}
>  SUB_FILES=     pkg-message
> g1-227(9.2-P)[3] 
> 
> 
> is what's wanted (for astro/gpsman).
> 
> Am I close?  :-}

Yes, that's correct. You could also USES+=tk:84+,run to limit it to a
run depend. Thanks!

-- 
Pietro Cerutti
The FreeBSD Project
gahr at FreeBSD.org

PGP Public Key:
http://gahr.ch/pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-tcltk/attachments/20130919/dae3f054/attachment.sig>


More information about the freebsd-tcltk mailing list