From owner-freebsd-ports@freebsd.org Sat Dec 16 19:15:10 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 BC3D9E8BA0A; Sat, 16 Dec 2017 19:15:10 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 683A26F096; Sat, 16 Dec 2017 19:15:10 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id s197so7450763vke.11; Sat, 16 Dec 2017 11:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=o6R7UziSgdqEY+hxAuTDGrxS4ZiotZcnbrNomLobJOc=; b=AyeXOLsJHrTp8Bigk3MojigC5/pIJ2vdvzHyI0x+2ne/QyhudXvge6Wo1Qk8TDNsoZ iI+3tjlnYCl7dMmkO7KlgOYLqVu+Ukc3fauRq4cEQpjR3EUKKWbysMzPB9Xv7PZtRx32 8iN5eQ2AXc8FH5YzfsKvze6a/t0TqnaGFmnCRqLlgNPBOWO4W/6f6kXaA4OZBB3efxIO vp7V/4pbRx/jNOg7L/o9lvN5ybiULL69XjXRKjzTADgZT7t011Di/YXZeSI4pqn4cOSR rOWnEYfViGqgIkoh6WgTOBgB2S9CaUSmyIjf6cx6rUJ5lb2XBMVOU55q+K3ycmCnwBGD 7/pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=o6R7UziSgdqEY+hxAuTDGrxS4ZiotZcnbrNomLobJOc=; b=MImUC0eSRQfjlY3KIWnZeCWx65+MT/3ZixlX1XN0OqXwlEuVGvhzun41jYFu8KSYUk cZgbU0X8NKMeM1pdha0rHqRWqc2MDu8VrYOZUxJPTaI2JYtiyC6O9dKAeOJbwIiqJu+m lSwpJ1V/AOy935wcUX6dlPr4iNHfmdIVGVNFYEmtJFx+EevegASlzgKB/i7xh3/lTsmd 2wdtcc8XmbFoiFdMuaHsU+YNEV75tMoh8NMI1DVMBK2TvBt8HiByryXKHrQFe/pQ4W1u I8ViS/yXzCUdxGL/qRH1PpDmjCU8IFcLvLKAZqFP6YMHVnmF3bWgd7OVqLBSUyv7HiLJ 6anw== X-Gm-Message-State: AKGB3mJYrnaR8U66ZoTRG9kYh7cnxx+l3rUlhc68/AYx3hLRLCB5UOhe WTu2npYrk66d6W7iAde2vx45QD44ZjPmrcAR3QndJA== X-Google-Smtp-Source: ACJfBouHbOOaw3rgohjHUW5MU01nUwd1NJCNN1Cu2+m43gT4AoUsgb3JU/ITFlnF/o9wEXW0ifwvBbwiV5IzyANfMSs= X-Received: by 10.31.135.81 with SMTP id j78mr1062342vkd.177.1513451709051; Sat, 16 Dec 2017 11:15:09 -0800 (PST) MIME-Version: 1.0 References: <20171216142849.GL10752@graf.pompo.net> In-Reply-To: <20171216142849.GL10752@graf.pompo.net> From: Ben Woods Date: Sat, 16 Dec 2017 19:14:58 +0000 Message-ID: Subject: Re: Option vs. flavor? To: freebsd-ports@freebsd.org, "ports@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Sat, 16 Dec 2017 19:15:10 -0000 On Sun, 17 Dec 2017 at 3:29 am, Thierry Thomas wrote: > Le sam. 16 d=C3=A9c. 17 =C3=A0 2:38:51 +0100, Yuri > =C3=A9crivait : > > > One port is small by itself, but it semi-optionally requires 4.5GB of > > static data installed. > > > > It is possible to download this data optionally, conditional on the por= t > > option DATA_FILES which will be "off" by default, so that the users who > > need the data will install it with DATA_FILES=3Don. > > > > Alternatively, it is possible to create a flavor, something like > @withData. > > > > > > Should the option be preferred, or should the flavor be preferred? > > I'd say that this is a case for sub-packages. > -- > Th. Thomas. > I believe Sub-packages would normally still download the data for the port build (make fetch), but it would not be included main pkg. The original post was requesting that the port make fetch only downloads the data conditionally based on the option. Not sure how possible that is. Regards, Ben --=20 -- From: Benjamin Woods woodsb02@gmail.com