From owner-freebsd-ports@freebsd.org Tue Dec 5 16:41:38 2017 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 92491E7024C for ; Tue, 5 Dec 2017 16:41:38 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CD74328BD; Tue, 5 Dec 2017 16:41:37 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id vB5GgLUF030865; Tue, 5 Dec 2017 08:42:28 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: UDNSMS MIME-Version: 1.0 Cc: "FreeBSD Ports ML" , "Stefan Esser" In-Reply-To: <20171205113310.GX1384@albert.catwhisker.org> From: "Chris H" Reply-To: bsd-lists@BSDforge.com To: "David Wolfskill" Subject: Re: Working on FLAVOR support in portmaster Date: Tue, 05 Dec 2017 08:42:27 -0800 Message-Id: <494f380db076a1dec85078e7fac58e1c@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2017 16:41:38 -0000 On Tue, 5 Dec 2017 03:33:10 -0800 "David Wolfskill" = said > On Tue, Dec 05, 2017 at 08:35:55AM +0100, Stefan Esser wrote: > > =2E=2E=2E > > I'm working on FLAVOR support in portmaster=2E My version did already bui= ld > > all updated ports, the FLAVOR parameter is passed to build sub-processe= s, > > but there is still some confusion between multiple flavored versions of= the > > same port (installing the py27 version wants to deinstall the py36 vers= ion > > and vice versa), which I still have to fix=2E >=20 > Thank you; that is encouraging=2E >=20 > > I'm not sure that I have time to complete the fix today, but it is not = too > > hard=2E Ports need to complement the port origin with the FLAVOR, where > > appropriate (e=2Eg=2E when a flavored destination is found in MOVED)=2E Alrea= dy > > installed packages are annotated with "flavor" and that must be passed = to > > the build command, when that port is updated=2E Most other logic in portm= aster > > remains unaffected=2E >=20 > That seems reasonable=2E >=20 > > My work version has all non PKG_NG support stripped, but that is mainly= to > > not waste effort fixing irrelevant sub-routines=2E >=20 > Also reasonable, IMO=2E >=20 > > Is it acceptable, to have portmaster stop supporting the old package sy= stem? > > AFAIK, there is no way that a modern ports tree with flavor support wor= ks > > with a non-PKG_NG infrastructure? >=20 > I believe so: if for no other reason, one wishing to support such a > non-PKG_NG infrastructure can certainly use an older version of > portmaster=2E The sensible side of me also agrees that this is probably a reasonable, and efficient approach=2E But the practical side says there will likely be some screaming on the mailing lists, once this change lands=2E IMHO it might be a good idea to make a legacy branch, in the ports tree before gutting the pre-NG stuff=2E Just a thought=2E :) >=20 > > Regards, STefan > > =2E=2E=2E=2E >=20 > Peace, > david --Chris