From owner-freebsd-ports@freebsd.org Tue Dec 5 07:41:46 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 509B8DFA336 for ; Tue, 5 Dec 2017 07:41:46 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00FDD6F238 for ; Tue, 5 Dec 2017 07:41:45 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout10.t-online.de (Postfix) with SMTP id 38FF241C2109; Tue, 5 Dec 2017 08:36:09 +0100 (CET) Received: from Stefans-MBP-2.fritz.box (XHK0nBZGYhrYedzi-fJ+5Bffufijnye2ewBXR3BIs86BN5tzyLbNIaYrAGvzPmPgLH@[87.151.220.147]) by fwd24.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1eM7lj-34Ah3A0; Tue, 5 Dec 2017 08:35:55 +0100 Subject: Working on FLAVOR support in portmaster To: Tatsuki Makino , FreeBSD Ports ML References: From: Stefan Esser Message-ID: Date: Tue, 5 Dec 2017 08:35:55 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ID: XHK0nBZGYhrYedzi-fJ+5Bffufijnye2ewBXR3BIs86BN5tzyLbNIaYrAGvzPmPgLH X-TOI-MSGID: 264e98b9-3b04-4832-aeac-b157f5efe185 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 07:41:46 -0000 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. 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