summaryrefslogtreecommitdiff
path: root/mk/compiler
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-21 14:27:56 +0000
committerjlam <jlam@pkgsrc.org>2006-07-21 14:27:56 +0000
commit7d1f4cca8ee69154c87d9e612cf7eab8c03b9563 (patch)
tree7caa897b86d23c2822e6d9c8f6d7d3dfeb078d5e /mk/compiler
parentbf3813d3f65b79dbd601ae45f32ab3758fa72e5f (diff)
downloadpkgsrc-7d1f4cca8ee69154c87d9e612cf7eab8c03b9563.tar.gz
"BUILD_ENV" was misnamed. It's actually the environment that is passed
to all internal recursive make processes. As such, rename it to "PKGSRC_MAKE_ENV". XXX Note, some of the usage of this variable in package Makefiles seems XXX incorrect. They probably want "MAKE_ENV", which is the environment XXX passed to the make process when running "make" within ${WRKSRC}.
Diffstat (limited to 'mk/compiler')
-rw-r--r--mk/compiler/ccache.mk6
-rw-r--r--mk/compiler/distcc.mk8
-rw-r--r--mk/compiler/f2c.mk4
3 files changed, 9 insertions, 9 deletions
diff --git a/mk/compiler/ccache.mk b/mk/compiler/ccache.mk
index 2bd70bd6f22..1487f60fee3 100644
--- a/mk/compiler/ccache.mk
+++ b/mk/compiler/ccache.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ccache.mk,v 1.26 2005/01/24 18:20:57 tv Exp $
+# $NetBSD: ccache.mk,v 1.27 2006/07/21 14:27:56 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -98,10 +98,10 @@ BUILD_DEPENDS+= ccache-[0-9]*:../../devel/ccache
# Override the compiler-specific hash with the version string for the
# compiler.
#
-BUILD_ENV+= CCACHE_HASHCC=${CC_VERSION_STRING:Q}
+PKGSRC_MAKE_ENV+= CCACHE_HASHCC=${CC_VERSION_STRING:Q}
. if defined(CCACHE_DIR) && !empty(CCACHE_DIR)
-BUILD_ENV+= CCACHE_DIR=${CCACHE_DIR:Q}
+PKGSRC_MAKE_ENV+= CCACHE_DIR=${CCACHE_DIR:Q}
. endif
# Create symlinks for the compiler into ${WRKDIR}.
diff --git a/mk/compiler/distcc.mk b/mk/compiler/distcc.mk
index 1bdd6b7436a..3ef33edfb14 100644
--- a/mk/compiler/distcc.mk
+++ b/mk/compiler/distcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: distcc.mk,v 1.27 2005/01/24 18:20:57 tv Exp $
+# $NetBSD: distcc.mk,v 1.28 2006/07/21 14:27:56 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -96,13 +96,13 @@ PREPEND_PATH+= ${_DISTCC_DIR}/bin
BUILD_DEPENDS+= distcc-[0-9]*:../../devel/distcc
. if defined(DISTCC_HOSTS) && !empty(DISTCC_HOSTS)
-BUILD_ENV+= DISTCC_HOSTS=${DISTCC_HOSTS:Q}
+PKGSRC_MAKE_ENV+= DISTCC_HOSTS=${DISTCC_HOSTS:Q}
. endif
. if defined(DISTCC_SSH) && !empty(DISTCC_SSH)
-BUILD_ENV+= DISTCC_SSH=${DISTCC_SSH:Q}
+PKGSRC_MAKE_ENV+= DISTCC_SSH=${DISTCC_SSH:Q}
. endif
. if defined(DISTCC_VERBOSE) && !empty(DISTCC_VERBOSE)
-BUILD_ENV+= DISTCC_VERBOSE=${DISTCC_VERBOSE:Q}
+PKGSRC_MAKE_ENV+= DISTCC_VERBOSE=${DISTCC_VERBOSE:Q}
. endif
# Create symlinks for the compiler into ${WRKDIR}.
diff --git a/mk/compiler/f2c.mk b/mk/compiler/f2c.mk
index 18e22f59ddc..05fef1ccc4b 100644
--- a/mk/compiler/f2c.mk
+++ b/mk/compiler/f2c.mk
@@ -1,4 +1,4 @@
-# $NetBSD: f2c.mk,v 1.5 2005/03/24 17:46:01 tv Exp $
+# $NetBSD: f2c.mk,v 1.6 2006/07/21 14:27:56 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -99,7 +99,7 @@ PREPEND_PATH+= ${_F2C_DIR}/bin
. include "../../lang/f2c/buildlink3.mk"
. if defined(F2C_DIR) && !empty(F2C_DIR)
-BUILD_ENV+= F2C_DIR=${F2C_DIR:Q}
+PKGSRC_MAKE_ENV+= F2C_DIR=${F2C_DIR:Q}
. endif
# Create symlinks for the compiler into ${WRKDIR}.