mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
9c3d7007b2
With the update to Qt 5.9.3, the configure script and qmake expect an mkspec name, not an absolute path, which is why r458293 switched to using ${QMAKESPEC:T}. However, the :T modifier breaks things when CXX is set to an absolute path instead of just "c++", QMAKE_COMPILER is a shell string that will be evaluated only after make invokes `configure' with CONFIGURE_ARGS. In other words, we end up turning something like $$(ccver="$$(/usr/bin/c++ --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) into /c++ --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) which is obviously invalid. We now just avoid being too smart and set a separate variable called QMAKESPECNAME, which contains only the mkspec name and that we use both when setting CONFIGURE_ARGS as well as to create QMAKESPEC. PR: 224971 |
||
---|---|---|
.. | ||
Scripts | ||
Uses | ||
bsd.apache.mk | ||
bsd.autotools.mk | ||
bsd.ccache.mk | ||
bsd.commands.mk | ||
bsd.default-versions.mk | ||
bsd.destdir.mk | ||
bsd.emacs.mk | ||
bsd.fpc.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.ldap.mk | ||
bsd.licenses.db.mk | ||
bsd.licenses.mk | ||
bsd.local.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.options.desc.mk | ||
bsd.options.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 |