On Wed, Feb 16, 2022 at 06:58:20PM +0100, Andreas Sturmlechner wrote:
I'm not sure what this variable is about, but we gotta fix it.
Mentioned this in the bug too, but it's like MYMESONARGS and
EXTRA_ECONF. Not documented but it's still spread around by
word of mouth and sometime used by devs too when asking users
to try options ("does it work with MYCMAKEARGS=-DFIX emerge ...")
Any ebuilds using it directly (e.g. pcsx2) is a bug.
...and rather drop on next EAPI bump.
May result in some annoyed users that will ask for it back, not
that I think the use is that widespread unlike EXTRA_ECONF.
- "${MYCMAKEARGS}"
)
+ if [[ -n ${MYCMAKEARGS} ]] ; then
+ cmakeargs+=( "${MYCMAKEARGS}" )
+ fi
+
Better fix would've been to remove the quotes I think, so that it
splits arguments and doesn't pass a literal empty "" string.
i.e. users could MYCMAKEARGS="-DARG1=yes -DARG2=no" through package.env
--
ionen
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEx3SLh1HBoPy/yLVYskQGsLCsQzQFAmINeOkACgkQskQGsLCs QzSX9AgAs73SilFaDlRs2R0My/SmYhtAkI0dLsPWVNoORoeD9ebtfAAzO0txbf9g FacwV+Wwh7JvdrISJ3xyLWBXU9Twt1DRdu9zSYzls/CmD89saZyXYHdn0b0AVF3p D/MQDga36rdPhnqVL6tfuZ2Qp4Uoghc7qinYrI+PS/5oJYNd8Z/Heubj3qgxzMs0 aHwtLzWjtO7Uf6L/YXZpj/PHs0UemdsREE/MKKvZuYfjbcSRn4DulqsR+paKdzZD bKgWJVEfJ3+gUPOMHTLqTxMtXXYE0ekr0BVQi2uLnulnByeyGVffcKATgB27M0/Y pyEtSf77OyqjhsOd34gTWo+H8OprUg==
=siaq
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)