From owner-freebsd-ports@freebsd.org Mon Aug 24 17:27:40 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 BD5BF9C13DC for ; Mon, 24 Aug 2015 17:27:40 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) 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 9ABE911B8 for ; Mon, 24 Aug 2015 17:27:40 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: by mailman.ysv.freebsd.org (Postfix) id 97F2D9C13DB; Mon, 24 Aug 2015 17:27:40 +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 7D9A09C13DA for ; Mon, 24 Aug 2015 17:27:40 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [IPv6:2a01:e0c:1:1599::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0907F11B7; Mon, 24 Aug 2015 17:27:40 +0000 (UTC) (envelope-from mazhe@alkumuna.eu) Received: from yggdrasil.alkumuna.eu (unknown [IPv6:2a01:e35:8a74:6e70:232:36ff:fe5c:3a87]) by smtp1-g21.free.fr (Postfix) with ESMTPS id 04D2D9400AD; Mon, 24 Aug 2015 19:27:27 +0200 (CEST) Received: from freedom ([IPv6:2a01:e35:8a74:6e70:62a4:4cff:fe54:b212]) (authenticated bits=0) by yggdrasil.alkumuna.eu (8.15.2/8.14.9) with ESMTPSA id t7OHRH43097782 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 24 Aug 2015 19:27:24 +0200 (CEST) (envelope-from mazhe@alkumuna.eu) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alkumuna.eu; s=default; t=1440437244; bh=YAMmJn4dNthDiNNqoenTnZUG6VHac+zJay+/GCw9H1s=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=oFuGEh4ZI7WT0YNTJOJo8ZtiQQr97LtJYuHuAF5pJxCgyY+fq0DuSOtuvusLnCQr2 R/uNzYUOunTNPfmxS4aWovkLYQcCKJ7bBhewhP8RcqTPVE58FAsFTypYYVXjNnhGvL ieWNnWGuqsovheC1wp6L0ojMVXT5syKsfzh6azrg= Date: Mon, 24 Aug 2015 19:27:10 +0200 From: Matthieu Volat To: Baptiste Daroussin Cc: ports@FreeBSD.org Subject: Re: [HEADSUP] portmaster/portupgrade support for new features Message-ID: <20150824192710.08c77060@freedom> In-Reply-To: <20150824135802.GF93486@ivaldir.etoilebsd.net> References: <20150629092226.GL68142@ivaldir.etoilebsd.net> <20150824135802.GF93486@ivaldir.etoilebsd.net> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/sf+qaQLzc4sBIxJSAwiJRqx"; protocol="application/pgp-signature" X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FSL_HELO_NON_FQDN_1,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on yggdrasil.alkumuna.eu 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 17:27:40 -0000 --Sig_/sf+qaQLzc4sBIxJSAwiJRqx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 24 Aug 2015 15:58:02 +0200 Baptiste Daroussin wrote: > 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 whi= ch has > > landed in the ports tree and should not be used before a while, still b= efore 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 an= d it will > > be in te next version.) > >=20 > > So since recently we can remove the ${PORTSDIR} from all the dependency= lines. > > (Please do not use that syntax before all the tools are able to handle = 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 they= 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 patche= s if > > necessary so that the day we adopt this syntax those tools are already = 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 (form= erly > > known as FLAVOURS) and sub packages. > >=20 > > This first step would allow you to step into the code of those tools be= fore 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 feature = 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 ${PORTSDIR} > information. >=20 > Best regards, > Bapt Hello, Are those features already present somehow in ports? 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. Regards, -- Matthieu Volat --Sig_/sf+qaQLzc4sBIxJSAwiJRqx Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlXbU+4ACgkQ+ENDeYKZi35ZbQCguz5qUwiGB0eDDECI+zQRMeUF rzgAnAva/cubDFV6fzYwM8XPcx6sHUjz =HM9R -----END PGP SIGNATURE----- --Sig_/sf+qaQLzc4sBIxJSAwiJRqx--