From nobody Mon Jul 27 15:47:53 2026 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4h83044tP4z6n8RY for ; Mon, 27 Jul 2026 15:48:04 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resqmta-h2p-567062.sys.comcast.net (resqmta-h2p-567062.sys.comcast.net [IPv6:2001:558:fd02:2446::a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4h83034h5Qz3xsg for ; Mon, 27 Jul 2026 15:48:03 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=comcast.net header.s=20190202a header.b=0a+8t4YP; spf=pass (mx1.freebsd.org: domain of kargls@comcast.net designates 2001:558:fd02:2446::a as permitted sender) smtp.mailfrom=kargls@comcast.net; dmarc=pass (policy=reject) header.from=comcast.net Received: from resomta-h2p-555029.sys.comcast.net ([96.102.179.203]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-h2p-567062.sys.comcast.net with ESMTPS id oKXgwgo2SDvlYoNYZwl4rx; Mon, 27 Jul 2026 15:47:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1785167275; bh=FZVCrP6iROHY0hdUqrHtThR3JyeZs5lRcK6wk8DUdQ4=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=0a+8t4YP8INnrJlNJivuWiQw5qXqj1IhY8pxLSRRlM3hTVCAD6x3TmbikhM2cbaBL 0Sf2r50BnCYxG284ofhyF7uovbYtC4CUIgusmlQ9nG/AFJ8LRs6zHJcPjfGOgmijy1 R9cZvuzHDdtF0+hsaXvEjJKVvyoLpg0nA7XHf/lxZukByKi1yaFVdxcNGNf+E93V/p yn2X6ZK8qJrVezot5ferp9ZoSlRNmYZ0dFO6ssPktQCQA2IRIxwJXvq5VcZ/zS9VE9 L3SmH4emr4XFjFRG4U2DWWcWjk0FLWZkNYqSew6QC4XWG7BcmjRUaNLTkDJor3Ce/d gPjzvmcO9MTUw== Received: from [10.0.0.31] ([73.97.237.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-h2p-555029.sys.comcast.net with ESMTPSA id oNYXwc2VoDEa6oNYYwVhIP; Mon, 27 Jul 2026 15:47:55 +0000 Xfinity-QID: oNYXwc2VoDEa6oNYYwVhIP Xfinity-Graffiti: 65301900770 Message-ID: <99b33d19-7ddf-4c63-bfde-6726b9656ef5@comcast.net> Date: Mon, 27 Jul 2026 08:47:53 -0700 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: What is a FLAVOR and how to unbreak ports? To: ports@freebsd.org References: <6ce75735-75f7-4852-814c-91b8105692e6@comcast.net> <20260727184705.0f0356d700c06e070edf4ae2@dec.sakura.ne.jp> Content-Language: en-US From: Steve Kargl In-Reply-To: <20260727184705.0f0356d700c06e070edf4ae2@dec.sakura.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfL4mbUaHwhMZBRGy3lQWffStQ40xkL4VjVzzYR3asbLXXfN0RsqxQFKxKIlhR577F4skB3zOjra3tUw0+MFytEj671MaxfPYDVce827NjHtG1gXu3S0g 8jrDzDQTT43fyDM9/hIlYdo24k4jeY549C9ujx7pXMhkWm04GVZuSiPLHg0iVXIIVl2Lgq7RXUsVTw== X-Spamd-Result: default: False [0.05 / 15.00]; HFILTER_HELO_5(3.00)[resqmta-h2p-567062.sys.comcast.net]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; NEURAL_HAM_SHORT(-0.96)[-0.965]; DMARC_POLICY_ALLOW(-0.50)[comcast.net,reject]; R_DKIM_ALLOW(-0.20)[comcast.net:s=20190202a]; R_SPF_ALLOW(-0.20)[+ip6:2001:558:fd02:2446::/64]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[comcast.net]; DWL_DNSWL_NONE(0.00)[comcast.net:dkim]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_ENVFROM(0.00)[comcast.net]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[comcast.net:+]; MLMMJ_DEST(0.00)[ports@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2001:558:fd02:2446::a:from,96.102.179.203:received] X-Rspamd-Queue-Id: 4h83034h5Qz3xsg X-Spamd-Bar: / On 7/27/26 02:47, Tomoaki AOKI wrote: > On Mon, 27 Jul 2026 01:25:00 -0700 > "Edward Sanford Sutton, III" wrote: > >> On 7/26/26 19:43, Steve Kargl wrote: >>> On 7/26/26 18:41, Edward Sanford Sutton, III wrote: >>>>    Flavors are a way to have separate packages created for different >>>> configurations of a port. That way users of pkg do not need to go >>>> manually build software for relatively common software variation >>>> possibilities that they may want or need in place of a single default >>>> set of options. >>> >>> Yeah, I read the porter's documentation.  I could not find where >>> it mentions a comprehensive list of the FLAVORs.  There is no >>> discussion of how one can query for the list of FLAVORs. >> >> Also not present in the normal handbook when talking about using the >> ports tree. Unless I'm mistaken, people shouldn't be directed to the >> porter's handbook unless trying to create or modify ports instead of >> just use them. Maybe I missed it, but I didn't find any clear definition >> of relevant variables and commands in /usr/ports/Mk files except as >> comments above sections of what is being done with blocks of code; >> normally many variables and targets are described in comments at the top >> of bsd.port.mk and if not then its in the relevant other files in there. > > I think FreeBSD project is directing regular users to pkg, > unless non-default options are needed. > And, there's the rub. Users may need/wish to drop into the ports tree to build software. On at least x86_64, the default options need to build a pkg to work on any x86_64 target. I have the following in my /etc/make.conf. FFLAGS+= -O2 -pipe -march=native -mtune=native FFLAGS+= -funroll-loops --param max-unroll-times=4 -ftree-vectorize CFLAGS+= -O2 -pipe -march=native -mtune=native -- steve