diff options
author | salo <salo@pkgsrc.org> | 2003-07-09 20:07:46 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-07-09 20:07:46 +0000 |
commit | 21b6a8eb805c73baf99c65cf93388ce132321320 (patch) | |
tree | 390f29bb83574d04d8e399ea9213513b31b29cd6 /mk | |
parent | 029aeeb1571fa36e47e2f63b4720e1917db0461b (diff) | |
download | pkgsrc-21b6a8eb805c73baf99c65cf93388ce132321320.tar.gz |
Use proper compiler test.
(the former was unreliable anyway, there could be GCC installed as cc == no
*gcc* pattern in path)
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index d3ce5e9b1c4..33232053623 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.89 2003/07/09 16:07:22 salo Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.90 2003/07/09 20:07:46 salo Exp $ # # An example package buildlink2.mk file: # @@ -778,7 +778,7 @@ MAKE_ENV+= ${BUILDLINK_ENV} # OS-specific overrides for buildlink2 wrappers # -.if ${CC:M*gcc*} == "" +.if defined(USE_SUNPRO) _BLNK_WRAPPEES.SunOS?= CC CXX SUNWSPROBASE?= /opt/SUNWspro CC.SunOS?= ${SUNWSPROBASE}/bin/cc |