From owner-freebsd-ports@freebsd.org Tue Feb 11 19:01:02 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7862523F904 for ; Tue, 11 Feb 2020 19:01:02 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from corvid.alerce.com (corvid.alerce.com [206.125.171.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48HBv12NWJz4V77; Tue, 11 Feb 2020 19:01:01 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from postfix.alerce.com (76-226-160-236.lightspeed.sntcca.sbcglobal.net [76.226.160.236]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by corvid.alerce.com (Postfix) with ESMTPSA id C448634921; Tue, 11 Feb 2020 11:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alerce.com; s=dkim; t=1581447648; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P3gqG6TL/UrMWnKVAYq2dq6WLo3KE/zDNqDpxwE68iw=; b=JDbLzN5oV4Lxz4bCkmaxpo8xX7PwY6owBobhV9vV6FMFav8tl/sqmSXHXWMJd/ifnlqiXL aQnU+WL2gcenbYAAD3aKdxgBzZZ5nHAkMUOyM5Wmmls52UdXAz1z1sSceEBoGTicXEeqdi 6ldNzoPhnLeUwdCJUq2dl4s3Qe7HrBoV89Jir+DXV7GgpfB7+Su8SzfOEeA5tvT4RGX2f6 S/yi++XfyfnJBV7k5TNLrVkFCCJL1f1XH4G68cuV0gZvBj0U7kMunKN1x0hD7OmY1GlK/V kxcRuLSPuicgHfiWFSGgiz5sdPYGNReMgSjO+tMtdvGSuN7iEbHQk4KteEMo5w== Received: by postfix.alerce.com (Postfix, from userid 501) id 7DA10201AA61BD; Tue, 11 Feb 2020 11:00:48 -0800 (PST) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24130.63968.417543.524293@alice.local> Date: Tue, 11 Feb 2020 11:00:48 -0800 To: Mathieu Arnold Cc: Ernie Luzar , Kevin Oberman , portmaster@bsdforge.com, freebsd-ports Subject: Re: What is the actual syntax used to FLAVOR ports? In-Reply-To: <20200211084553.6zpansexamvw5tl4@atuin.in.mat.cc> References: <9120f724da0ba22abe3c7caa09415ea5@udns.ultimatedns.net> <5E420B3A.3010908@gmail.com> <20200211084553.6zpansexamvw5tl4@atuin.in.mat.cc> X-Mailer: VM undefined under 26.3 (x86_64-apple-darwin14.5.0) Reply-To: hartzell@alerce.com X-Rspamd-Queue-Id: 48HBv12NWJz4V77 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alerce.com header.s=dkim header.b=JDbLzN5o; dmarc=pass (policy=none) header.from=alerce.com; spf=pass (mx1.freebsd.org: domain of hartzell@alerce.com designates 206.125.171.163 as permitted sender) smtp.mailfrom=hartzell@alerce.com X-Spamd-Result: default: False [-4.72 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[alerce.com:s=dkim]; HAS_REPLYTO(0.00)[hartzell@alerce.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[alerce.com:+]; DMARC_POLICY_ALLOW(-0.50)[alerce.com,none]; IP_SCORE(-2.72)[ip: (-8.76), ipnet: 206.125.168.0/21(-4.47), asn: 25795(-0.33), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:206.125.168.0/21, country:US]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2020 19:01:02 -0000 Mathieu Arnold writes: > [...] > Flavors have been documented from day one. > > https://www.freebsd.org/doc/en/books/porters-handbook/flavors.html > > (I kinda know because I wrote (most of) the flavors code, and I also > write (most of) the documentation.) But, and I think that this is where this thread began, I can't find any documentation for the end user and the hints that I have found are not very discover-able. The FreeBSD Handbook section for using ports [using-ports] doesn't even contain the word "flavors". I can't find any mention in the docs of how to select a particular flavor while building a port (make FLAVOR=py27) or when installing a particular flavored pkg (e.g. py-37-s3cmd). I just discovered that a port's FreshPorts page includes a list of acceptable flavors (e.g. [py-s3cmd], [emacs]), which is super-useful. I can't find a similar command line invocation and don't see anything relevant in the `Default targets` section of bsd.port.mk. Have I missed something somewhere? g. [emacs]: https://www.freshports.org/editors/emacs/ [py-s3cmd]: https://www.freshports.org/net/py-s3cmd/ [python-flavors]: https://www.freebsd.org/doc/en/books/porters-handbook/flavors-auto-python.html [using-ports]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html