From 7d1f4cca8ee69154c87d9e612cf7eab8c03b9563 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 21 Jul 2006 14:27:56 +0000 Subject: "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}. --- graphics/MesaLib/Makefile | 4 ++-- graphics/TiffIO/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics') diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index 5b1e640c355..a110687bacc 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2006/07/06 12:27:43 markd Exp $ +# $NetBSD: Makefile,v 1.49 2006/07/21 14:27:56 jlam Exp $ PKGNAME= MesaLib-${MESA_VERSION} PKGREVISION= 2 @@ -23,7 +23,7 @@ PTHREAD_STUBLIB= "-L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib -lpthstub" .else PTHREAD_STUBLIB= # provided by libc .endif -BUILD_ENV+= PTHREAD_STUBLIB=${PTHREAD_STUBLIB} +PKGSRC_MAKE_ENV+= PTHREAD_STUBLIB=${PTHREAD_STUBLIB} pre-build: cd ${WRKSRC} && ${RM} -fr src/glu src/glut progs diff --git a/graphics/TiffIO/Makefile b/graphics/TiffIO/Makefile index 7dc28ce1ded..8bd87912a28 100644 --- a/graphics/TiffIO/Makefile +++ b/graphics/TiffIO/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/04/17 13:46:36 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2006/07/21 14:27:56 jlam Exp $ # DISTNAME= TiffIO-120e @@ -15,7 +15,7 @@ COMMENT= Tiff support for QT image loader USE_TOOLS+= gmake USE_LANGUAGES= c c++ -BUILD_ENV+= QTDIR=${QTDIR:Q} +PKGSRC_MAKE_ENV+= QTDIR=${QTDIR:Q} .include "../../devel/zlib/buildlink3.mk" BUILDLINK_API_DEPENDS.tiff+= tiff>=3.8.1 -- cgit v1.2.3