pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Make _WRAPPEES into a public variable so that we can m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f486ab30ef8
branches:  trunk
changeset: 481150:9f486ab30ef8
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Sep 26 21:38:03 2004 +0000

description:
Make _WRAPPEES into a public variable so that we can more easily create
wrapper scripts in package-land.

diffstat:

 lang/gcc3/Makefile.common |   4 ++--
 mk/wrapper/bsd.wrapper.mk |  20 ++++++++++++--------
 2 files changed, 14 insertions(+), 10 deletions(-)

diffs (59 lines):

diff -r e24beb715060 -r 9f486ab30ef8 lang/gcc3/Makefile.common
--- a/lang/gcc3/Makefile.common Sun Sep 26 21:09:34 2004 +0000
+++ b/lang/gcc3/Makefile.common Sun Sep 26 21:38:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.11 2004/09/21 15:04:34 jlam Exp $
+# $NetBSD: Makefile.common,v 1.12 2004/09/26 21:38:03 jlam Exp $
 
 GCC_VERSION=   3.3.4
 DISTNAME=      gcc-${GCC_VERSION}
@@ -120,7 +120,7 @@
 GCC_ARCHDIR=   ${PREFIX}/${GCC_ARCHSUBDIR}
 
 .if defined(INSTLIBS)
-_WRAPPEES+=            LIBTOOL
+WRAPPEES+=             LIBTOOL
 
 .PHONY: scrub-libtool-archives
 post-build: scrub-libtool-archives
diff -r e24beb715060 -r 9f486ab30ef8 mk/wrapper/bsd.wrapper.mk
--- a/mk/wrapper/bsd.wrapper.mk Sun Sep 26 21:09:34 2004 +0000
+++ b/mk/wrapper/bsd.wrapper.mk Sun Sep 26 21:38:03 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.wrapper.mk,v 1.3 2004/09/25 20:38:21 jlam Exp $
+# $NetBSD: bsd.wrapper.mk,v 1.4 2004/09/26 21:38:03 jlam Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -131,20 +131,24 @@
 # _WRAP_ALIASES.CC, _WRAP_ALIASES.LD, etc. are the other names by
 # which each wrapper may be invoked.
 #
-_WRAPPEES+=    AS
-_WRAPPEES+=    CC
+WRAPPEES+=     AS
+WRAPPEES+=     CC
 # XXX The following is a workaround until I can find time to fix this
 # XXX more completely (jlam).
 .if ${CPP:N-*} != ${CC}
-_WRAPPEES+=    CPP
+WRAPPEES+=     CPP
 .endif
-_WRAPPEES+=    CXX
-_WRAPPEES+=    FC
+WRAPPEES+=     CXX
+WRAPPEES+=     FC
 .if defined(USE_X11)
 IMAKE?=                ${X11BASE}/bin/imake
-_WRAPPEES+=    IMAKE
+WRAPPEES+=     IMAKE
 .endif
-_WRAPPEES+=    LD
+WRAPPEES+=     LD
+
+.for _wrappee_ in ${WRAPPEES}
+_WRAPPEES+=    ${_wrappee_}
+.endfor
 
 _WRAP_ALIASES.AS=      as
 _WRAP_ALIASES.CC=      cc gcc



Home | Main Index | Thread Index | Old Index