diff options
author | grant <grant> | 2003-04-15 01:33:58 +0000 |
---|---|---|
committer | grant <grant> | 2003-04-15 01:33:58 +0000 |
commit | 4cd165cb37d004289246361fae558ba869f59d3b (patch) | |
tree | acdd834018f8888afe3ea3973dde6501ba616f11 /mk | |
parent | 19b16d5a5eac1d7f81e65eddd7cdd9edb720908e (diff) | |
download | pkgsrc-4cd165cb37d004289246361fae558ba869f59d3b.tar.gz |
only create the wrappers for /opt/SUNWspro/bin/{CC,CXX} if we're not
using gcc.
fixes problem on Solaris where building pkgs would use the wrong CC
(eg. CC=gcc) due to the wrappers being in the $PATH first.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink2/bsd.buildlink2.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/buildlink2/bsd.buildlink2.mk b/mk/buildlink2/bsd.buildlink2.mk index f0bc8c089df..1ee31c06855 100644 --- a/mk/buildlink2/bsd.buildlink2.mk +++ b/mk/buildlink2/bsd.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink2.mk,v 1.80 2003/04/11 18:13:09 jmc Exp $ +# $NetBSD: bsd.buildlink2.mk,v 1.81 2003/04/15 01:33:58 grant Exp $ # # An example package buildlink2.mk file: # @@ -775,10 +775,12 @@ MAKE_ENV+= ${BUILDLINK_ENV} # OS-specific overrides for buildlink2 wrappers # +.if ${CC:M*gcc*} != "" _BLNK_WRAPPEES.SunOS?= CC CXX SUNWSPROBASE?= /opt/SUNWspro CC.SunOS?= ${SUNWSPROBASE}/bin/cc CXX.SunOS?= ${SUNWSPROBASE}/bin/CC +.endif buildlink-${_BLNK_OPSYS}-wrappers: buildlink-wrappers .for _wrappee_ in ${_BLNK_WRAPPEES.${_BLNK_OPSYS}} |