From nobody Tue Feb 27 06:24:13 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 4TkSBg5Dm1z5CZ0k for ; Tue, 27 Feb 2024 06:24:43 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-vk1-f180.google.com (mail-vk1-f180.google.com [209.85.221.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TkSBg2td9z4RbM for ; Tue, 27 Feb 2024 06:24:43 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vk1-f180.google.com with SMTP id 71dfb90a1353d-4cba3807eedso2157894e0c.0 for ; Mon, 26 Feb 2024 22:24:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709015082; x=1709619882; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ThYikVyF2c+BZkChRSNUAY3T74Fadz2i9ToT1PmE0VU=; b=XeTdX3v+ALG4jk4PWhM7viGylZtEw87ShbAd0VXPR34DVB5B25pzICn8ORpKPChW5o cBsyFwcdAA8+cQN/nuJfLdw+m/tD92YqzB9rW8pCRkvwkmlcFsYRnSaMk9SAUkZoy0ud 6I/dBmm5KK9plAYmpQ9q5eLHqxYD3Z5Vqlw2ghiyXQKeFmmKIuaH99qbFg1I/SZvaJo9 FpmzrX3neliHtL1CY7gNtFnRX9gzP/gZGJCQwfEJDhti0EqaQDHgOirCe4CfVb+QzMTh laJhx3Mjaaqn5ejom6G58cIDTwudEep0KJc7UiMRS1TcSxNMPUyDs4nMtxV7yMwaP3Aq S2Yw== X-Gm-Message-State: AOJu0Yxyo/v7a2m1+YXmymSiIAgkKDHkWcXL41OYpUboR00sW4BEgi2C fuid1ilOjDUP1lOjDIgMmC4X1L5XhO0gU++i5dLgKMtZuMhlPfKi7L9l1k1OZe4= X-Google-Smtp-Source: AGHT+IFITCKuacGm/Bb2yp4zb9kqLmRNheYloerqNrjuJqCKNmY0GtQYEX+unqtQFaZCDM/bcXviUQ== X-Received: by 2002:a05:6122:4d0e:b0:4c8:aaf1:1558 with SMTP id fi14-20020a0561224d0e00b004c8aaf11558mr6491482vkb.3.1709015081907; Mon, 26 Feb 2024 22:24:41 -0800 (PST) Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com. [209.85.221.173]) by smtp.gmail.com with ESMTPSA id fc23-20020a0561224b1700b004c880fc9728sm844457vkb.46.2024.02.26.22.24.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 26 Feb 2024 22:24:41 -0800 (PST) Received: by mail-vk1-f173.google.com with SMTP id 71dfb90a1353d-4caabc3f941so1943538e0c.1 for ; Mon, 26 Feb 2024 22:24:41 -0800 (PST) X-Received: by 2002:a1f:d501:0:b0:4c7:7760:8f14 with SMTP id m1-20020a1fd501000000b004c777608f14mr6580130vkg.7.1709015081504; Mon, 26 Feb 2024 22:24:41 -0800 (PST) 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 References: <0f7f4f5675d1e75e504ad67d963e8874@riseup.net> <137c5ccbdaa6ca8e5913771d0ed737d7@riseup.net> In-Reply-To: <137c5ccbdaa6ca8e5913771d0ed737d7@riseup.net> From: Gleb Popov Date: Tue, 27 Feb 2024 09:24:13 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: emulators/mame: Increasing option granularity woes To: Alastair Hogge Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4TkSBg2td9z4RbM On Tue, Feb 27, 2024 at 5:43=E2=80=AFAM Alastair Hogge wro= te: > > 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=3D .else BAR=3D .endif" form. I'm afraid you'd still have to write post-install: .if ${PORT_OPTIONS:MFOO} || ${PORT_OPTIONS:MBAR} ... .endif for optionalizing targets.