From owner-freebsd-ports@freebsd.org Mon Aug 24 18:54:18 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E3129C127A for ; Mon, 24 Aug 2015 18:54:18 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 499981FC1 for ; Mon, 24 Aug 2015 18:54:18 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 48CA59C1279; Mon, 24 Aug 2015 18:54:18 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2E6AE9C1274 for ; Mon, 24 Aug 2015 18:54:18 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B90331FC0 for ; Mon, 24 Aug 2015 18:54:17 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by widdq5 with SMTP id dq5so58999430wid.1 for ; Mon, 24 Aug 2015 11:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=d2JI7N/d9NhFhcnuQDqyEVjd+eLmJY2MBrcewSSkwJo=; b=So5DbMeCQbi0NRjOVa6e+/i25hKavp7Qlw4XIooD1Su+0aVzXpWdzwaF37wNujFjID w+vCCQshES8oWZ3feaC3Fa/4HY9RGAOWlZbyLLfx1bQ7lNS/0FU3ekjdZmM3oLMsIxdA 0j15qaxfVzkUsEER1xQ6WJ50DODXqSWwLYvhmhcnmiANJl+lyBcEGFMREhaSDfNFMK1G Qo0ZawavE9Jrw7YO+QgbfGuvU3psWrsSre6XEjfNhaI5iZF1/SCy+CV7ED9HSIkMMVPM a+2KDhXYEomcZ+Y4800HO8PJgKsKe1y85pnc2H/drOvI8oeTepunXzLqyTKKpIU+zl8e 1z+Q== X-Received: by 10.194.88.102 with SMTP id bf6mr41326172wjb.99.1440442455255; Mon, 24 Aug 2015 11:54:15 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id v9sm24400818wjq.41.2015.08.24.11.54.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Aug 2015 11:54:14 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 24 Aug 2015 20:54:12 +0200 From: Baptiste Daroussin To: Matthieu Volat Cc: ports@FreeBSD.org Subject: Re: [HEADSUP] portmaster/portupgrade support for new features Message-ID: <20150824185412.GJ93486@ivaldir.etoilebsd.net> References: <20150629092226.GL68142@ivaldir.etoilebsd.net> <20150824135802.GF93486@ivaldir.etoilebsd.net> <20150824192710.08c77060@freedom> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CxDuMX1Cv2n9FQfo" Content-Disposition: inline In-Reply-To: <20150824192710.08c77060@freedom> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2015 18:54:18 -0000 --CxDuMX1Cv2n9FQfo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 24, 2015 at 07:27:10PM +0200, Matthieu Volat wrote: > On Mon, 24 Aug 2015 15:58:02 +0200 > Baptiste Daroussin wrote: >=20 > > On Mon, Jun 29, 2015 at 11:22:27AM +0200, Baptiste Daroussin wrote: > > > hi all, > > >=20 > > > A couple of new features are coming to the ports tree. The first of w= hich has > > > landed in the ports tree and should not be used before a while, still= before we > > > start using it, it would be a very good idea to bring support for it = to > > > portmaster/portupgrade. (I have already done the change in poudriere = and it will > > > be in te next version.) > > >=20 > > > So since recently we can remove the ${PORTSDIR} from all the dependen= cy lines. > > > (Please do not use that syntax before all the tools are able to handl= e it!) > > >=20 > > > Aka BLA_DEPENDS=3D pattern:${PORTSDIR}/category/port can now become > > > pattern:category/ports > > >=20 > > > I haven't checked portmaster/portupgrade code so I have no idea if th= ey will > > > support that out of box or if they will need some changes. > > >=20 > > > I would really appreciate to see people testing that and provide patc= hes if > > > necessary so that the day we adopt this syntax those tools are alread= y ready to > > > use it ootb. > > >=20 > > > FYI: https://github.com/freebsd/portmaster and > > > https://github.com/freebsd/portupgrade > > >=20 > > > Later more changes will be necessary to support upcoming VARIANTS (fo= rmerly > > > known as FLAVOURS) and sub packages. > > >=20 > > > This first step would allow you to step into the code of those tools = before the > > > having to deal with more intrusive changes :) > > >=20 > > > Best regards, > > > Bapt > >=20 > > Here is a reminder on help needed. We do really need to get this featur= e in the > > ports tree to be able to step further in flexible dependencies (hear > > provides/requires) and VARIANTS/FLAVORS and subpackages. > >=20 > > If one cares about those tools, please make them work without ${PORTSDI= R} > > information. > >=20 > > Best regards, > > Bapt >=20 > Hello, >=20 > Are those features already present somehow in ports? >=20 > The first thing I see is a failure because calling commands > such as "make build-depends-list" in port directories in which I > removed ${PORTSDIR} from LIB_DEPENDS failing. >=20 No not yet because we are writing for portmaster/portupgrade to handle that= to commit them. How ever I can provide a patch so anyone willing to work on th= at will be able to test. Best regards, Bapt --CxDuMX1Cv2n9FQfo Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlXbaFQACgkQ8kTtMUmk6EzLQwCdHl8woP7OZbK3eGks3cs8ABDU HZcAn3InLaGo7umlo32nh6T0ldkKW1XM =UAe2 -----END PGP SIGNATURE----- --CxDuMX1Cv2n9FQfo--