From nobody Mon Mar 11 10:30:17 2024 X-Original-To: dev-commits-ports-all@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 4TtY2702H1z5ChMv; Mon, 11 Mar 2024 10:30:23 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TtY264X8jz4v8q; Mon, 11 Mar 2024 10:30:22 +0000 (UTC) (envelope-from mat@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710153022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=x5fHl/ozNPrmRMsN2+4s54NuEKEuyOOpJ4hDlBlwK+U=; b=dw6ckCKVeAjgRmLPLuXe22CTV+5D80eVVag9uE6S9k2spJbT1uFIDWxgclbRfMt85ZG9jq 2H2paGNVk1wkaIU3r60+1VKRMnutzT3gEeTP+qMWcK77bRtNXOXY0lNzepVK1lrM/BGbkF vh1Q3/BnRRpDzmbznX+lA2Afh2bt1oBpH/3irGmIibSF1p1SIaek53Az/auvj9tlE7OZcH rmIZto+YY7g8DWlpjXOgqgQ9RRLJ5X8xGWzdCzP0r4WSCrdDhOn8pLK/8PYuwk0zJidZNT oerSdwXAJPCRCb79mQY2x7ZN1eetE0yaMVRhJnNzd16elD+bMwdlKJ59p7iufw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1710153022; a=rsa-sha256; cv=none; b=YjluojHZjiDD2SHOHcPFSAAOXEWGxXUtSYe0krRv8Ey22wlEvFT3C9njI9Lo8zfD8L/m+F iPMxvdNtvVA+gbIRtKqp/XraJ1PbGMI2YKMOe0VneEX4o4TX+rexg+JUeEIWl/pNp8eyrF ejD252IRsmiiZCDwsGF/u6NwSlWQ7oB+uJwQ+vAU67DPfp930nyYbFkr7dd0+Ud8DE7ECY HNpkowBmUqQVB2Qi0GKPs/bD5atFQnVyh0z9ufeMIvLRzOLeIvTy49T2tnWYrcFqGlXWt/ 1BlBWBFQ1J/sWXoL+4lAgSOcnH7V0D3iMke6CdGCvSiiBGIihpUlXupKBb836w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1710153022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=x5fHl/ozNPrmRMsN2+4s54NuEKEuyOOpJ4hDlBlwK+U=; b=hEUXaAuekA3zbH1Xs5hegsps8FeBuZhTTPjemOPkyjJrh8VprEefHAT0lzUjj74A4N+0XB tyMJbCVnnVpfRvS+EnzR7XRnjSEfHk6dLm98nDV+Fc0dSy9TCWJhBQQMb/wbpmbC3+g7iN grbS7MVRLzXalpwJgJzZne4FmRDqpviKvog3OTE8BMA2AFxHf55LLQWdPScZeBb0jL+GCp RxDeasgUwFf9QPuDAJOW26VL7YDdsdWeFCX7rUSUMg+oFeZoYSR+pDkVZHs5Akqf2P3/9Y BgMYNXFb5+p6waUifSNo1miEt3mck0gZCJIutnhqjsyCVBfZEqKJhfjmjOKatA== Received: from relay.mat.cc (cow.mat.cc [79.143.244.49]) (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 (4096 bits) client-digest SHA256) (Client CN "cow.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TtY263P7Jz11PJ; Mon, 11 Mar 2024 10:30:22 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:e0a:836:f670:3c9d:2679:3ace:e720]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by relay.mat.cc (Postfix) with ESMTPSA id 858272009A; Mon, 11 Mar 2024 11:30:20 +0100 (CET) Date: Mon, 11 Mar 2024 11:30:17 +0100 From: Mathieu Arnold To: Vladimir Druzenko Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 79f8f9c8f54b - main - */*: convert Makefile patches to MAKE_ARGS after "Move man pages to share/man" Message-ID: References: <202403102258.42AMwcEk042464@gitrepo.freebsd.org> List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jealqoxrmhcfovg6" Content-Disposition: inline In-Reply-To: --jealqoxrmhcfovg6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 11, 2024 at 01:08:53PM +0300, Vladimir Druzenko wrote: > 11.03.2024 10:42, Mathieu Arnold =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Sun, Mar 10, 2024 at 10:58:38PM +0000, Vladimir Druzenko wrote: > > > The branch main has been updated by vvd: > > >=20 > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D79f8f9c8f54b8de3d324= d30ce9a19649bbe69e69 > > >=20 > > > commit 79f8f9c8f54b8de3d324d30ce9a19649bbe69e69 > > > Author: Vladimir Druzenko > > > AuthorDate: 2024-03-10 22:49:41 +0000 > > > Commit: Vladimir Druzenko > > > CommitDate: 2024-03-10 22:49:41 +0000 > > >=20 > > > */*: convert Makefile patches to MAKE_ARGS after "Move man pages= to share/man" > > > Replaced patches for Makefiles with "MAKE_ARGS+=3DMANDIR=3D${PRE= FIX}/share/man" > > Why +=3D ? Is the variable defined before in the Makefile ? If it is, t= hen > > you should append to its previous value, if it is not, +=3D will only > > confuse people in the future, wondering why a non existing variable is > > appended to instead of being set. > >=20 > I took other ports as examples, in particular sysutils/lmmon. Looking for examples in the ports tree is not the best idea, people like to be creative and try very hard to not learn how make works so they can continue making creative things. >=20 > Also, AFAIU, "MAKE_ARGS+=3D" allow users add custom options via make.conf= same > as "CFLAGS+=3D". MAKE_ARGS is not a user facing variable, so please, unless it is a master port, and slave ports set MAKE_ARGS, do not use +=3D. --=20 Mathieu Arnold --jealqoxrmhcfovg6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmXu3ThfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1 NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d Qb7uzwwAsaqiHNF5uGLjHtZhEk9079fBhHQLK4IEBwgZ4OWMWJiOjm0UnnGJNTsj 8fclVRwZUzYOeNj3uytSyztWULZ3Mjn2KqdU8aQAUGk2dgxM8NMOV3uofCLy5mhg wn0FcfzzJQAzQb7B8VdpoF4WOHgsvmHPaCEtZXriMxmDgJht4Uz5W8QcKqUMkBOq hX55bVJ7w2dCFVt7ZE9NNsSioGup8wZTGO6sQw/UtBCQg6eJl+oSItq8b5pmbkd0 HcbwBZ4Cjp7myni1D7wrddEZlyeI+PwgTKmd7j4jhQP5dpMaqmB6uGLxHNVv56og ExYd2WjiqXOvNIGu7XAKWVCspbTlhQ3+kOXt61uuMMZii4l4Ko0h6thdauL19vUK mBCFmsHjgYYIHW/mGdE/wqJKKL6iBkJOfhBKvxPOlWOhOe0LryVf0MAdsFykXp9X tjSF3shShzAcKSWtUBJBJTw1g+/UVpF2b00uiygjm2qOdtDBtKIGcdBrPVM/WUvK 2nvtrGzf =ZciH -----END PGP SIGNATURE----- --jealqoxrmhcfovg6--