From owner-freebsd-tcltk@FreeBSD.ORG Thu Sep 19 19:24:49 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 1839FC19 for ; Thu, 19 Sep 2013 19:24:49 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AFBB9241A for ; Thu, 19 Sep 2013 19:24:48 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.7/8.14.7) with ESMTP id r8JJOlWk035765 for ; Thu, 19 Sep 2013 12:24:47 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.7/8.14.7/Submit) id r8JJOl4X035764 for tcltk@FreeBSD.org; Thu, 19 Sep 2013 12:24:47 -0700 (PDT) (envelope-from david) Date: Thu, 19 Sep 2013 12:24:46 -0700 From: David Wolfskill To: tcltk@FreeBSD.org Subject: Re: [HEADS UP] Tcl/Tk moves to the USES framework Message-ID: <20130919192446.GB1560@albert.catwhisker.org> References: <20130919120004.GL86832@gahrfit.gahr.ch> <20130919124623.GZ1560@albert.catwhisker.org> <20130919131640.GM86832@gahrfit.gahr.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qtzb1h6tVL0ohdDu" Content-Disposition: inline In-Reply-To: <20130919131640.GM86832@gahrfit.gahr.ch> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-tcltk@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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 19:24:49 -0000 --Qtzb1h6tVL0ohdDu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 19, 2013 at 03:16:40PM +0200, Pietro Cerutti wrote: > ... > > > We (tcltk@) could use your help to transition from the deprecated > > > USE_TCL and USE_TK variables to the new framework. > > > .... > ... > Yes, that's correct. You could also USES+=3Dtk:84+,run to limit it to a > run depend. Thanks! OK; I see where that's documented, but when I tried it: Index: gpsman/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gpsman/Makefile (revision 327610) +++ gpsman/Makefile (working copy) @@ -7,6 +7,7 @@ =20 PORTNAME=3D gpsman PORTVERSION=3D 6.4.4 +PORTEPOCH=3D 1 CATEGORIES=3D astro tk geography MASTER_SITES=3D SF/${PORTNAME}/distrib EXTRACT_SUFX=3D .tgz @@ -14,7 +15,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+,run =20 WRKSRC=3D ${WRKDIR}/${PORTNAME}-${PORTVERSION} SUB_FILES=3D pkg-message unpleasantness ensued: Script started on Thu Sep 19 12:16:08 2013 command: portmaster astro/gpsman =1B]0;portmaster: gpsman-6.4.4.1=07 =3D=3D=3D>>> Currently installed version: gpsman-6.4.4.1 =3D=3D=3D>>> Port directory: /usr/ports/astro/gpsman "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (84 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}84.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (85 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}85.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (86 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}86.so)) "/usr/ports/Mk/Uses/tcl.mk", line 161: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1506: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6534: if-less endif make: fatal errors encountered -- cannot continue =3D=3D=3D>>> Gathering distinfo list for installed ports "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (84 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}84.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (85 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}85.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (86 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}86.so)) "/usr/ports/Mk/Uses/tcl.mk", line 161: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1506: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6534: if-less endif make: fatal errors encountered -- cannot continue "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (84 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}84.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (85 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}85.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (86 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}86.so)) "/usr/ports/Mk/Uses/tcl.mk", line 161: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1506: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6534: if-less endif make: fatal errors encountered -- cannot continue =3D=3D=3D>>> Gathering dependency list for astro/gpsman from ports "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (84 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}84.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (85 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}85.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (86 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}86.so)) "/usr/ports/Mk/Uses/tcl.mk", line 161: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1506: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6534: if-less endif make: fatal errors encountered -- cannot continue =3D=3D=3D>>> No dependencies for astro/gpsman =1B]0;portmaster: gpsman-6.4.4.1=07 =3D=3D=3D>>> Starting build for astro/gpsman <<<=3D=3D=3D =3D=3D=3D>>> All dependencies are up to date "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (84 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}84.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (85 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}85.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (86 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}86.so)) "/usr/ports/Mk/Uses/tcl.mk", line 161: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1506: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6534: if-less endif make: fatal errors encountered -- cannot continue "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (84 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}84.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (85 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}85.so)) "/usr/ports/Mk/Uses/tcl.mk", line 102: Malformed conditional (86 >=3D ${_TC= LTK_MIN_VERSION} && exists(${LOCALBASE}/lib/lib${_TCLTK_PORT}86.so)) "/usr/ports/Mk/Uses/tcl.mk", line 161: if-less endif "/usr/ports/Mk/bsd.port.mk", line 1506: if-less endif "/usr/ports/Mk/bsd.port.mk", line 6534: if-less endif make: fatal errors encountered -- cannot continue =3D=3D=3D>>> make clean failed =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Killing background jobs Terminated =3D=3D=3D>>> You can restart from the point of failure with this command li= ne: portmaster astro/gpsman=20 =3D=3D=3D>>> Exiting Script done on Thu Sep 19 12:16:09 2013 This was on: FreeBSD 9.2-PRERELEASE #551 r255693M/255698:902503: Thu Sep 19 04:53:06 PD= T 2013 root@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 with a /usr/ports working copy: Path: /usr/ports Working Copy Root Path: /usr/ports URL: file:///svn/freebsd/ports/head Relative URL: ^/head Repository Root: file:///svn/freebsd/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 327610 Node Kind: directory Schedule: normal Last Changed Author: gahr Last Changed Rev: 327610 Last Changed Date: 2013-09-19 03:12:50 -0700 (Thu, 19 Sep 2013) Perhaps this is related to the reason r327631 was committed? Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Qtzb1h6tVL0ohdDu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iEYEARECAAYFAlI7T34ACgkQmprOCmdXAD1yzACfRBuBOWaUC3XYEzt54l/k/lOL whoAn1y8GcQ1VpUEYoZnUI9DvmMq8CXY =x03w -----END PGP SIGNATURE----- --Qtzb1h6tVL0ohdDu--