1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/Mk
Mathieu Arnold 3818d01826 Fix opt_VARS premature expansion.
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
2015-10-01 07:56:36 +00:00
..
Scripts Implemented complete support for test target. 2015-09-28 17:20:42 +00:00
Uses - Fix typo 2015-09-30 15:43:55 +00:00
bsd.apache.mk Fix static modules in www/apache24 2015-07-14 22:34:53 +00:00
bsd.autotools.mk Mark USE_AUTOTOOLS deprecated and remove support for libtoolize. 2015-04-19 18:16:40 +00:00
bsd.ccache.mk Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN. 2015-04-14 20:58:26 +00:00
bsd.commands.mk Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD. 2015-03-23 04:03:00 +00:00
bsd.database.mk Remove UNIQUENAME and LATEST_LINK. 2015-08-17 14:20:40 +00:00
bsd.default-versions.mk Make it so that the default Perl is always called perl5. 2015-09-14 12:19:48 +00:00
bsd.destdir.mk
bsd.emacs.mk GNU Emacs Updates 2015-04-27 10:28:00 +00:00
bsd.fpc.mk - editors/lazarus update to 1.4.2 2015-08-09 08:06:43 +00:00
bsd.gcc.mk Since there is not going to be any new version of GCC in the FreeBSD 2015-04-22 21:29:21 +00:00
bsd.gecko.mk gecko: add INTEGER_SAMPLES option 2015-08-26 06:38:32 +00:00
bsd.gnome.mk Mk/bsd.gnome.mk : remove net/linc from the component list. 2015-09-27 10:52:16 +00:00
bsd.gstreamer.mk Update gstreamer1 ports to 1.6.0. 2015-09-26 14:36:23 +00:00
bsd.java.mk
bsd.kde4.mk Update KDE SC to 4.14.3 2015-03-11 23:11:47 +00:00
bsd.ldap.mk
bsd.licenses.db.mk
bsd.licenses.mk
bsd.linux-apps.mk Re-commit of 2015-08-09 19:14:13 +00:00
bsd.linux-rpm.mk Re-commit of 2015-08-09 19:14:13 +00:00
bsd.local.mk
bsd.mate.mk Update MATE DE to 1.10.0. 2015-07-27 20:19:33 +00:00
bsd.ocaml.mk Explicitly run the ocaml command in post (de)installation 2015-09-26 08:41:45 +00:00
bsd.octave.mk Explicly force runnning load-octave-pkg during post (de)installation 2015-09-26 08:39:49 +00:00
bsd.openssl.mk security/libressl: Update to 2.2.2 2015-08-06 19:13:18 +00:00
bsd.options.desc.mk - Add shared PYTHON2 and PYTHON3 descriptions 2015-08-20 07:39:09 +00:00
bsd.options.mk Fix opt_VARS premature expansion. 2015-10-01 07:56:36 +00:00
bsd.php.mk Add a message explaining how to fix poudriere build failures if the 2015-09-27 18:37:34 +00:00
bsd.port.mk Implemented complete support for test target. 2015-09-28 17:20:42 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Use .sinclude when possible. 2015-06-13 02:46:52 +00:00
bsd.qt.mk Fix qt5-multimedia with GStreamer 1.6.0. 2015-09-28 20:20:53 +00:00
bsd.ruby.mk - Update to 2.2.3 2015-09-08 19:45:13 +00:00
bsd.sanity.mk Add a new sanity check for knobs not needed anymore 2015-09-16 21:01:05 +00:00
bsd.sdl.mk
bsd.sites.mk http://cloud.github.com/ redirects to https. 2015-09-04 16:01:51 +00:00
bsd.ssp.mk
bsd.tex.mk Add preliminary support of tlmgr. 2015-09-25 21:42:25 +00:00
bsd.wx.mk Remove ansi version fo wxGTK 2.8 and only keep the unicode version 2015-09-16 19:51:26 +00:00
bsd.xorg.mk Misc X.org port updates: 2015-04-18 15:34:36 +00:00