summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/compiler/sunpro.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/compiler/sunpro.mk b/mk/compiler/sunpro.mk
index a4d370dcbb7..1678c4ab00d 100644
--- a/mk/compiler/sunpro.mk
+++ b/mk/compiler/sunpro.mk
@@ -1,4 +1,4 @@
-# $NetBSD: sunpro.mk,v 1.47 2010/07/30 07:58:59 asau Exp $
+# $NetBSD: sunpro.mk,v 1.48 2013/04/06 18:09:43 tez Exp $
#
# This is the compiler definition for the SUNWspro C compiler.
#
@@ -16,6 +16,9 @@ COMPILER_SUNPRO_MK= defined
.include "../../mk/bsd.prefs.mk"
SUNWSPROBASE?= /opt/SUNWspro
+.if !exists($SUNWSPROBASE)
+SUNWSPROBASE!= /bin/ls -d /opt/solstudio*
+.endif
# common definitions
# XXX: should be moved to compiler.mk.