diff options
author | dougb <dougb@FreeBSD.org> | 2011-07-02 03:25:47 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2011-07-02 03:25:47 +0800 |
commit | a0d1313c4453963da23c94c7639e91a2aa5af077 (patch) | |
tree | 1559ade91fb0b39b6b574770f0c25730f9d717c5 /Mk/bsd.qt.mk | |
parent | b7b8d82cc2faf5a93e2d48a9ea0a24a4942722ac (diff) | |
download | freebsd-ports-gnome-a0d1313c4453963da23c94c7639e91a2aa5af077.tar.gz freebsd-ports-gnome-a0d1313c4453963da23c94c7639e91a2aa5af077.tar.zst freebsd-ports-gnome-a0d1313c4453963da23c94c7639e91a2aa5af077.zip |
Back out 1.25 till it can get proper attention
Diffstat (limited to 'Mk/bsd.qt.mk')
-rw-r--r-- | Mk/bsd.qt.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.qt.mk b/Mk/bsd.qt.mk index a23b2fa4aee5..384c772dbc12 100644 --- a/Mk/bsd.qt.mk +++ b/Mk/bsd.qt.mk @@ -112,7 +112,7 @@ QMAKEFLAGS+= QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" \ # # Translate `c++` to its real name and select the appropriate mkspec. # -QMAKE_BASE_COMPILER!= cc --version 2> /dev/null | awk 'NR == 1 { gsub(/[()]/, "", $2); print $2 }' +QMAKE_BASE_COMPILER!= cc --version | head -1 | sed -E 's/.+\(([^)]+)\).+/\1/' | cut -d " " -f 1 .if ${QMAKE_BASE_COMPILER:L} == "gcc" QMAKE_BASE_COMPILER= g++ .endif |