1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Fix bmake complaining about non-zero return

This commit is contained in:
Baptiste Daroussin 2013-05-02 14:12:58 +00:00
parent 3be66bc76e
commit 93b7a504b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317119

View File

@ -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