From owner-freebsd-ports@freebsd.org Tue Dec 5 19:23:55 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 B6C34E75D25 for ; Tue, 5 Dec 2017 19:23:55 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from fmailer.gwdg.de (fmailer.gwdg.de [134.76.11.16]) (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 7AEBB6AAB3; Tue, 5 Dec 2017 19:23:55 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from [134.76.11.225] (helo=email.stud.uni-goettingen.de) by mailer.gwdg.de with esmtp (Exim 4.80) (envelope-from ) id 1eMIol-0005Qc-5a; Tue, 05 Dec 2017 20:23:47 +0100 Received: from UM-EXCHT-A01.um.gwdg.de (134.76.9.210) by um-excht-s1.um.gwdg.de (134.76.9.213) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 5 Dec 2017 20:23:46 +0100 Received: from krabat.raven.hur (91.8.156.113) by email.gwdg.de (134.76.9.210) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 5 Dec 2017 20:23:46 +0100 Subject: Re: Working on FLAVOR support in portmaster To: Stefan Esser References: CC: Tatsuki Makino , FreeBSD Ports ML From: Rainer Hurling Message-ID: <4823ecc2-f910-9964-ad30-de67969cc4c7@gwdg.de> Date: Tue, 5 Dec 2017 20:23:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Spam-Level: - X-Virus-Scanned: (clean) by clamav 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 19:23:55 -0000 Am 05.12.2017 um 08:35 schrieb Stefan Esser: > Am 05.12.17 um 00:43 schrieb Tatsuki Makino: >> By the way, where is the clever way to update to flavor? >> I am using portmaster. > > I'm working on FLAVOR support in portmaster. My version did already build > all updated ports, the FLAVOR parameter is passed to build sub-processes, > but there is still some confusion between multiple flavored versions of the > same port (installing the py27 version wants to deinstall the py36 version > and vice versa), which I still have to fix. Isn't the described behaviour (installing the py27 version wants to deinstall the py36 version and vice versa) caused by the underlying ports mechanisms? As far as I can see, portmaster gives exactly the output, that also comes from using pure 'make deinstall' and 'make reinstall'. > I'm not sure that I have time to complete the fix today, but it is not too > hard. Ports need to complement the port origin with the FLAVOR, where > appropriate (e.g. when a flavored destination is found in MOVED). Already > installed packages are annotated with "flavor" and that must be passed to > the build command, when that port is updated. Most other logic in portmaster > remains unaffected. > > > My work version has all non PKG_NG support stripped, but that is mainly to > not waste effort fixing irrelevant sub-routines. > > Is it acceptable, to have portmaster stop supporting the old package system? > AFAIK, there is no way that a modern ports tree with flavor support works > with a non-PKG_NG infrastructure? > > Regards, STefan Many thanks for your efforts in bringing flavors into portmaster. Really appreciated! Regards, Rainer