From nobody Tue Aug 22 16:42:34 2023 X-Original-To: freebsd-current@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 4RVZs34cyYz4r7VN for ; Tue, 22 Aug 2023 16:42:47 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (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 4RVZs32V6qz4bNb for ; Tue, 22 Aug 2023 16:42:47 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1bba48b0bd2so30611025ad.3 for ; Tue, 22 Aug 2023 09:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692722566; x=1693327366; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=/lQGuFhIUoIBGiaXvZxABITdHl/itycYqk2o6cwXOGg=; b=kWTIyJwbojr0uLTu6mAd9B7KlCc3zG2H7TMnMB+lTg47Nw5cltj7bNmoGbHm3xdme1 mrvO0AOHGAm7B/zNG4pV9vUTzQdzo1mncc4LkVRiE5v2Y6hu6XPRZpeNrHSJgULm1To3 CwJ7jRob81EGzleImPQxl75yRf14GbwIpWqRxsJZQmPK7qDF4vhEmFNjzWz8WhWd+abB eRPieUCc4RR+OzHzVPmKq0REPIr+tgsw1T5dt0ycf0Qnsw25NsmUgjzAaPrpKPaKj6Wi w0zNpnFc9RCvqdJ3wq8nJ+diMtV7EvBMctfLDBtL5lh+tKC6NjJEGr3Yy9xpo5zeAk5v I3Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692722566; x=1693327366; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/lQGuFhIUoIBGiaXvZxABITdHl/itycYqk2o6cwXOGg=; b=PayPLSLWaU0LrR7/TGxsIU2LY15llQKzKqsoCiLoHDeClCnOjkffIYYNQwW6lKhCyc AoYr6d8rkRFm/dk1ZdM1JdsDNOCPeaUj82o9zv1wAluOg4mW/9gwkONIoVZL59RLdy1K oWQrY8OgPAoZGweusvLqGPrCdh61wtIFDYUTJ7VTjpDsFVpDbWMeoq5OBsu3tw2yttAZ a0SKzWed34V2dZ+wk5KwX7oEZJPhUer7pkB9Wg54770Tur1BrcwQWskG4PndQqgOhQH8 4f62l/H/yZEMivpIefoa1sfGPHCxWUwFqGq6id73QVveaOOWP3q5YbtBmzmdi+DwObCj jNwg== X-Gm-Message-State: AOJu0Yzd5bmp7SRJ1OKS+3DGdtM/L02CMZW8QgFlu6ozeYvuomNI0qYb 6sL9b6rMQKsplexNEm4XI2U= X-Google-Smtp-Source: AGHT+IFM1lrhUSb6s8t1MPM9hZxIluUzLU6x1jtY6cIg5i8NxV39dV7VoXyf7ulGiOwMjnNFphzT3Q== X-Received: by 2002:a17:902:d4cb:b0:1bd:c931:8c32 with SMTP id o11-20020a170902d4cb00b001bdc9318c32mr7836022plg.62.1692722565660; Tue, 22 Aug 2023 09:42:45 -0700 (PDT) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id x21-20020a170902ea9500b001bc39aa63ebsm9262160plb.121.2023.08.22.09.42.44 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Aug 2023 09:42:45 -0700 (PDT) From: Enji Cooper Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_795EB426-128A-4774-A910-72684951F896"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Subject: Re: src.conf(5) to specify multiple flavours of a port Date: Tue, 22 Aug 2023 09:42:34 -0700 In-Reply-To: Cc: Graham Perrin , FreeBSD CURRENT To: Warner Losh References: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com> X-Mailer: Apple Mail (2.3731.600.7) X-Rspamd-Queue-Id: 4RVZs32V6qz4bNb 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:2607:f8b0::/32, country:US] --Apple-Mail=_795EB426-128A-4774-A910-72684951F896 Content-Type: multipart/alternative; boundary="Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC" --Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 21, 2023, at 9:34 PM, Warner Losh wrote: >=20 > On Mon, Aug 21, 2023, 10:24 PM Graham Perrin > wrote: >> In a thread elsewhere, as an example that did not involve src.conf, = Mark Johnston wrote: >>=20 >>> $ cd /usr/ports/graphics/gpu-firmware-intel-kmod >>> $ sudo make reinstall FLAVOR=3Dkabylake >> How might I use /etc/src.conf to achieve much the same, with a = different port? >>=20 >=20 >=20 >=20 > I thought stuff like this went in ports.conf=E2=80=A6 ports.conf? ports-mgmt/portconf/files/portconf.sh.in:_conf=3D%%PREFIX%%/etc/ports.conf= ports-mgmt/portconf/files/pkg-message.in:%%PREFIX%%/etc/ports.conf = configuration file Huh=E2=80=A6 TIL. -Enji --Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Aug 21, = 2023, at 9:34 PM, Warner Losh <imp@bsdimp.com> = wrote:

On Mon, Aug = 21, 2023, 10:24 PM Graham Perrin <grahamperrin@gmail.com> = wrote:
=20 =20 =20
In a thread elsewhere, as an example that did not involve src.conf, Mark Johnston wrote:

$ cd /usr/ports/graphics/gpu-firmware-intel-kmod
$ sudo make reinstall FLAVOR=3Dkabylake

How might I = use /etc/src.conf to achieve much the same, with a different = port?



I thought stuff like this went = in = ports.conf=E2=80=A6

ports.con= f?

ports-mgmt/portconf/files/portconf.sh.in:_conf=3D%%PR= EFIX%%/etc/ports.conf

ports-mgmt/portconf/files/pkg-message.in:%%PREFIX%%/e= tc/ports.conf configuration file


Huh=E2=80=A6= TIL.
-Enji
= --Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC-- --Apple-Mail=_795EB426-128A-4774-A910-72684951F896 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAmTk5XoACgkQ5JFNMZeD GN6OhA//fHaF7kLDQ06kP/qqeO7cSpiKxrcDFqJTDkoJ2AiIBJEHNvSWdt6d4JFU l6zssjxyxCKkxGAyL2AVjB1cT/CPm6cBM/Cwvs87ZR0lTmc7DWjkr7Q0jJn+r0iN Zw2lfEKB4MhntZyJYiysgmcYWhc4Lk6rXKsj1nTFZjMdDQA0xGNoqEzklA3pBhA2 lrIzuZm4Dfpe0JqjYQH2Mfbh9Me1GUmmuiHnzihqi3NRiNY45u7Zl0oMAj/BoelB QuwApfHcOn0TdbamyN47ZE7hXwGLKzXYRwkkHaJZ1By5DGOhebOymmyeIq8pnfVe UKINatDJZiJdj7R5Ttj8EV0VCdzD70mnC20hxjlec6obyIfcJ0ayAUZsq2aGklgl V3eDBujkKCLHJpQcTSpFvtjWMnjwDXUEQrITOgz+nXksacvWi0t6XhwkSbxEU74x V7n/lgBtcfW6PBHiCkEcyNZOvKdjklo0eLrUNAotxMKH8dN4XtpofbrndtOMYl5Q CdhyIhdFnzokxK0jvm+DXIVcGuI6OqXy98kCYmFmKDSJ6mpf4FxP6daIFIokhHF3 C+qlJcx1tIjYmGWA2IiUlU+b67qeKbAZxKQ/YN7dd/snNJcjOYSYbKpYmVz3YfP8 uWyMQqLm5PL6tDI6svWi8nnGElpBUBvbuJ1X9iMTqZ/WDKrBshk= =/Mr4 -----END PGP SIGNATURE----- --Apple-Mail=_795EB426-128A-4774-A910-72684951F896--