mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
3818d01826
Due to the way .for loop work, opt_VARS was being expanded too early evaluation, which made it impossible to use vars that are set/modifies afterwards (such as PREFIX or PKGDIR) Fix this by changing opt_VARS handling logic so that the right side is not prematurely expanded: - Loop not by words (each word here is single VAR=val / VAR+=val tuple) but by unique left sides of assignments (VAR, VAR+ here) - Using the left side, extract all corresponding right sides and append/assign them to a variable This changes the way this opt_VARS line work, which behavior is between invalid and undefined: opt_VARS= FOO=bar FOO=baz Before it would end up with "FOO=baz", now it ends up with "FOO=bar baz" Submitted by: amdmi3 Reviewed by: antoine, mat Approved by: my portmgr hat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3729 |
||
---|---|---|
.. | ||
Scripts | ||
Uses | ||
bsd.apache.mk | ||
bsd.autotools.mk | ||
bsd.ccache.mk | ||
bsd.commands.mk | ||
bsd.database.mk | ||
bsd.default-versions.mk | ||
bsd.destdir.mk | ||
bsd.emacs.mk | ||
bsd.fpc.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gnome.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.kde4.mk | ||
bsd.ldap.mk | ||
bsd.licenses.db.mk | ||
bsd.licenses.mk | ||
bsd.linux-apps.mk | ||
bsd.linux-rpm.mk | ||
bsd.local.mk | ||
bsd.mate.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.openssl.mk | ||
bsd.options.desc.mk | ||
bsd.options.mk | ||
bsd.php.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.qt.mk | ||
bsd.ruby.mk | ||
bsd.sanity.mk | ||
bsd.sdl.mk | ||
bsd.sites.mk | ||
bsd.ssp.mk | ||
bsd.tex.mk | ||
bsd.wx.mk | ||
bsd.xorg.mk |