diff options
author | tez <tez@pkgsrc.org> | 2013-04-06 18:09:43 +0000 |
---|---|---|
committer | tez <tez@pkgsrc.org> | 2013-04-06 18:09:43 +0000 |
commit | 825a5876bf4165e83081ef46539dc487f864d4bb (patch) | |
tree | 70f519302190841b12c266bc6827ba4a8942fb5d | |
parent | 984edc33c6b1830f6e322de9892466e0b2c8cde1 (diff) | |
download | pkgsrc-825a5876bf4165e83081ef46539dc487f864d4bb.tar.gz |
The newer versions of solaris studio compilers install by default into
/opt/solstudioNN.N rather than /opt/SUNWspro so look there too.
-rw-r--r-- | mk/compiler/sunpro.mk | 5 |
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. |