From 49ad04f369a8c6377a9622cf8476668c2abc2bd2 Mon Sep 17 00:00:00 2001
From: agc <agc@pkgsrc.org>
Date: Mon, 22 Mar 1999 09:38:22 +0000
Subject: Move the definition of BUILD_ROOT into bsd.pkg.mk, from the
 individual package Makefiles which need it.

---
 plan9/9term/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

(limited to 'plan9')

diff --git a/plan9/9term/Makefile b/plan9/9term/Makefile
index de8a4326820..06a58208c74 100644
--- a/plan9/9term/Makefile
+++ b/plan9/9term/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1998/11/13 01:41:16 frueauf Exp $
+# $NetBSD: Makefile,v 1.17 1999/03/22 09:38:26 agc Exp $
 # FreeBSD Id: Makefile,v 1.5 1996/12/07 23:43:56 asami Exp
 #
 
@@ -10,14 +10,7 @@ MASTER_SITES=   ftp://ftp.ecf.toronto.edu/pub/plan9/matty/
 MAINTAINER=	packages@netbsd.org
 HOMEPAGE=	http://www.psrg.cs.usyd.edu.au/~matty/9term/index.html
 
-.include "../../mk/bsd.prefs.mk"
-
 # needs library and private header, but not during runtime
-.ifdef WRKOBJDIR
-BUILD_ROOT=	${WRKOBJDIR}
-.else
-BUILD_ROOT=	${PKGSRCDIR}
-.endif
 BUILD_DEPENDS=	${BUILD_ROOT}/plan9/sam/${WRKDIR:T}/libframe/libframe.a:../../plan9/sam
 
 NOT_FOR_ARCHS=	alpha	#LP64 Problems
-- 
cgit v1.2.3