From aaf5955178c6caf930db329731cd58dd4a22ed82 Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 15 Sep 1998 17:05:04 +0000 Subject: Modifications for a read-only pkgsrc (but writable WRKOBJDIR). --- mbone/nte/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'mbone/nte') diff --git a/mbone/nte/Makefile b/mbone/nte/Makefile index 11c08524901..9da25deb4c5 100644 --- a/mbone/nte/Makefile +++ b/mbone/nte/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 1998/08/20 15:17:11 tsarna Exp $ +# $NetBSD: Makefile,v 1.10 1998/09/15 17:05:05 agc Exp $ # DISTNAME= nt.1.5a23 @@ -8,10 +8,18 @@ MASTER_SITES= ftp://cs.ucl.ac.uk/mice/nte/ MAINTAINER= mycroft@netbsd.org -BUILD_DEPENDS= ${PKGSRCDIR}/x11/tk80/${WRKDIR:T}/tk8.0/generic/default.h:${TK_DIR}:configure +.include "../../mk/bsd.prefs.mk" + +.ifdef WRKOBJDIR +BUILD_ROOT= ${WRKOBJDIR} +.else +BUILD_ROOT= ${PKGSRCDIR} +.endif + +BUILD_DEPENDS= ${BUILD_ROOT}/x11/tk80/${WRKDIR:T}/tk8.0/generic/default.h:${TK_DIR}:configure DEPENDS+= tk-8.0p2:../../x11/tk80 -TK_DIR= ${PKGSRCDIR}/x11/tk80 +TK_DIR= ${BUILD_ROOT}/x11/tk80 TK_SRC= ${TK_DIR}/${WRKDIR:T}/tk8.0 RESTRICTED= "Contains DES encryption" -- cgit v1.2.3