aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.qt.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-02 22:12:58 +0800
committerbapt <bapt@FreeBSD.org>2013-05-02 22:12:58 +0800
commit61cb739884255a727b5afd9f6095847b7c32cb9c (patch)
tree8a54edd1b14e6ef526b128defa9b2cd3e04e9265 /Mk/bsd.qt.mk
parent805cdeaffd188c8bc3e1555e4806d254edca72b0 (diff)
downloadfreebsd-ports-gnome-61cb739884255a727b5afd9f6095847b7c32cb9c.tar.gz
freebsd-ports-gnome-61cb739884255a727b5afd9f6095847b7c32cb9c.tar.zst
freebsd-ports-gnome-61cb739884255a727b5afd9f6095847b7c32cb9c.zip
Fix bmake complaining about non-zero return
Diffstat (limited to 'Mk/bsd.qt.mk')
-rw-r--r--Mk/bsd.qt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.qt.mk b/Mk/bsd.qt.mk
index bf6b7864ef88..f462bd546ccd 100644
--- a/Mk/bsd.qt.mk
+++ b/Mk/bsd.qt.mk
@@ -310,7 +310,7 @@ Qt_Post_Include= bsd.qt.mk
#
# 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 2> /dev/null | ${AWK} 'NR == 1 { gsub(/[()]/, "", $$2); print $$2 }') || ${ECHO_CMD} "gcc"
.if ${QMAKE_BASE_COMPILER:L} == "gcc"
QMAKE_BASE_COMPILER= g++
.endif