From owner-freebsd-ports@freebsd.org Wed Sep 27 12:35:36 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 12FA4E02E00 for ; Wed, 27 Sep 2017 12:35:36 +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 C9D6571135; Wed, 27 Sep 2017 12:35:35 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd26.aul.t-online.de (fwd26.aul.t-online.de [172.20.26.131]) by mailout10.t-online.de (Postfix) with SMTP id D65A241C53B5; Wed, 27 Sep 2017 14:35:30 +0200 (CEST) Received: from Stefans-MBP-2.fritz.box (VOmPhoZ6ohJnbvRv7LUoz-Pes06jsyhoB0fKnpZt9x5wQRj3xNyusEceDyvMOsLgn6@[84.154.105.197]) by fwd26.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1dxBYi-24MGQa0; Wed, 27 Sep 2017 14:35:24 +0200 Subject: Re: [HEADUP] FLAVORS landing. To: freebsd-ports@freebsd.org, Mathieu Arnold References: From: Stefan Esser Message-ID: Date: Wed, 27 Sep 2017 14:35:24 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-ID: VOmPhoZ6ohJnbvRv7LUoz-Pes06jsyhoB0fKnpZt9x5wQRj3xNyusEceDyvMOsLgn6 X-TOI-MSGID: b0ce6c16-0354-45b4-86e6-016fe9ba8bfc X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2017 12:35:36 -0000 Am 26.09.17 um 16:05 schrieb Mathieu Arnold: > Hi, > > **Do not commit FLAVORS to any ports, a hook will prevent it, that being > said, do try it and test what can be done.** > > To test this feature in poudriere, you need > poudriere-devel-3.1.99.20170621 or later. > > This has been a long awaiting feature, most of the work has been done by > bapt, bdrewery and antoine, I am just the one actually doing the > announce and commit and all. > > All this information, and more to come are in the first link to our wiki > in the bottom block. A roadmap is in the second link. > > To define a different flavors in a port, before any include, set: > > FLAVORS=  flavor1 flavor2 [...] > > The first flavor in the list will be the default. One question regarding the naming of packages: The default flavour should probably(?) lead to a package with the same name as created without flavours. But any non-default flavour needs a distinct package name. In the case of the Python ports, this will be the version prefix (py27- vs. py36-). But what is planned for the general case? Will it be left to the port maintainer to add prefixes / postfixes to package names that reflect the flavours by means of the options that are enabled by some particular flavour? Or will the flavour be automatically added to the package name, if there would be name collisions, otherwise? Regards, STefan