From nobody Thu Feb 29 22:17:37 2024 X-Original-To: freebsd-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 4Tm5FL6ym1z5D14l for ; Thu, 29 Feb 2024 22:17:42 +0000 (UTC) (envelope-from agh@riseup.net) Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx0.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tm5FK2C3sz4v4b; Thu, 29 Feb 2024 22:17:41 +0000 (UTC) (envelope-from agh@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=Uq3XOsbh; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of agh@riseup.net designates 198.252.153.6 as permitted sender) smtp.mailfrom=agh@riseup.net Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4Tm5FG0T1Rz9tw6; Thu, 29 Feb 2024 22:17:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1709245058; bh=k8629S9eYnOdcab82dU++J+RhWg4u/2sUkUo+PTqAvM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Uq3XOsbh4ilNT2fHdSrOK41a+EErkrkoVAf21MTGualTLTESNUdQtJ09Yc/o+2zuj vS18zjzDDzegsP6gHF/SnrGMeypOCEPAoaqrbirZhrIJW5mH+/uPrnj6JDOOFOcU+g b6kxeCNJvmXot4YWhRzcO5d5/7Ckz6bCxMpkc1Ok= X-Riseup-User-ID: 796E6083A33CE09735A44A4FED92DD7EFECCE300B8700023D64DAFBF713A05A0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Tm5FF63mbzJrYW; Thu, 29 Feb 2024 22:17:37 +0000 (UTC) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Date: Thu, 29 Feb 2024 22:17:37 +0000 From: Alastair Hogge To: Gleb Popov Cc: freebsd-ports@freebsd.org Subject: Re: emulators/mame: Increasing option granularity woes In-Reply-To: References: <0f7f4f5675d1e75e504ad67d963e8874@riseup.net> <137c5ccbdaa6ca8e5913771d0ed737d7@riseup.net> Message-ID: <0d08240fcec39f7e34ddf55fa89eb48e@riseup.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; R_SPF_ALLOW(-0.20)[+a:mx0.riseup.net]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.6:from]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[riseup.net:+] X-Rspamd-Queue-Id: 4Tm5FK2C3sz4v4b On 2024-02-27 14:24, Gleb Popov wrote: > On Tue, Feb 27, 2024 at 5:43 AM Alastair Hogge wrote: >> >> however, I do not know how that translates to Makefile >> targets, like do-install-NON_USER_FACING_OPT-on. Currently the Makefile >> target is of the ".if somecond FOO= .else BAR= .endif" form. > > I'm afraid you'd still have to write > > post-install: > .if ${PORT_OPTIONS:MFOO} || ${PORT_OPTIONS:MBAR} > ... > .endif > > for optionalizing targets. Thanks.