summaryrefslogtreecommitdiff
path: root/mk/compiler/sunpro.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-12 11:50:46 +0000
committerjlam <jlam@pkgsrc.org>2004-02-12 11:50:46 +0000
commitcbea8f59e4b0f54c53fdef1682515cf0c92f0594 (patch)
tree097ab24316577269a4de39f51fdee2cb8fab4dc5 /mk/compiler/sunpro.mk
parentdc0f2089d9d8cb30adb357da361e74506678610a (diff)
downloadpkgsrc-cbea8f59e4b0f54c53fdef1682515cf0c92f0594.tar.gz
Prevent non-zero exit status when calling the compiler to print out the
version string.
Diffstat (limited to 'mk/compiler/sunpro.mk')
-rw-r--r--mk/compiler/sunpro.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk
index 9a997dc6baa..ee1b7934368 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.15 2004/02/12 08:54:48 jlam Exp $
+# $NetBSD: sunpro.mk,v 1.16 2004/02/12 11:50:46 jlam Exp $
.if !defined(COMPILER_SUNPRO_MK)
COMPILER_SUNPRO_MK= one
@@ -35,7 +35,7 @@ CXX= ${PKG_CXX:T}
_COMPILER_LD_FLAG= # empty
. if exists(${SUNWSPROBASE}/bin/cc)
-CC_VERSION_STRING!= ${SUNWSPROBASE}/bin/cc -V 2>&1
+CC_VERSION_STRING!= ${SUNWSPROBASE}/bin/cc -V 2>&1 || ${TRUE}
CC_VERSION!= ${SUNWSPROBASE}/bin/cc -V 2>&1 | ${GREP} '^cc'
. else
CC_VERSION_STRING= ${CC_VERSION}