svn commit: r317119 - head/Mk
Baptiste Daroussin
bapt at FreeBSD.org
Thu May 2 14:12:58 UTC 2013
Author: bapt
Date: Thu May 2 14:12:58 2013
New Revision: 317119
URL: http://svnweb.freebsd.org/changeset/ports/317119
Log:
Fix bmake complaining about non-zero return
Modified:
head/Mk/bsd.qt.mk
Modified: head/Mk/bsd.qt.mk
==============================================================================
--- head/Mk/bsd.qt.mk Thu May 2 14:12:20 2013 (r317118)
+++ head/Mk/bsd.qt.mk Thu May 2 14:12:58 2013 (r317119)
@@ -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
More information about the svn-ports-all
mailing list