pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/wrapper When CPP is defined as "cc -E" on Solaris w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d585f8bc9422
branches:  trunk
changeset: 520419:d585f8bc9422
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Oct 21 10:01:23 2006 +0000

description:
When CPP is defined as "cc -E" on Solaris with sunpro, the cc wrapper
had been overwritten with the cpp wrapper, and the latter didn't define
the necessary transformation rules. Fixed that.

diffstat:

 mk/wrapper/bsd.wrapper.mk |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r f0f875576ac5 -r d585f8bc9422 mk/wrapper/bsd.wrapper.mk
--- a/mk/wrapper/bsd.wrapper.mk Sat Oct 21 09:39:43 2006 +0000
+++ b/mk/wrapper/bsd.wrapper.mk Sat Oct 21 10:01:23 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.wrapper.mk,v 1.53 2006/09/17 22:52:45 rillig Exp $
+# $NetBSD: bsd.wrapper.mk,v 1.54 2006/10/21 10:01:23 rillig Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -264,12 +264,14 @@
 .endif
 
 .if !empty(PKGSRC_COMPILER:Msunpro)
-_WRAP_ARG_PP.CXX=      ${WRAPPER_TMPDIR}/arg-pp-sunpro-cxx
-_WRAP_CMD_SINK.CXX=    ${WRAPPER_TMPDIR}/cmd-sink-sunpro-cxx
 _WRAP_CACHE_BODY.CC=   ${WRAPPER_TMPDIR}/cache-body-sunpro-cc
 _WRAP_TRANSFORM.CC=    ${WRAPPER_TMPDIR}/transform-sunpro-cc
+_WRAP_ARG_PP.CXX=      ${WRAPPER_TMPDIR}/arg-pp-sunpro-cxx
 _WRAP_CACHE_BODY.CXX=  ${_WRAP_CACHE_BODY.CC}
 _WRAP_TRANSFORM.CXX=   ${_WRAP_TRANSFORM.CC}
+_WRAP_CMD_SINK.CXX=    ${WRAPPER_TMPDIR}/cmd-sink-sunpro-cxx
+_WRAP_CACHE_BODY.CPP=  ${_WRAP_CACHE_BODY.CC}
+_WRAP_TRANSFORM.CPP=   ${_WRAP_TRANSFORM.CC}
 .endif
 
 .if !empty(PKGSRC_COMPILER:Mxlc)



Home | Main Index | Thread Index | Old Index