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 +++++++++++--- mbone/vat/Makefile | 12 ++++++++++-- 2 files changed, 21 insertions(+), 5 deletions(-) (limited to 'mbone') 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" diff --git a/mbone/vat/Makefile b/mbone/vat/Makefile index 60d9b3b7de6..3bc507450d1 100644 --- a/mbone/vat/Makefile +++ b/mbone/vat/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 1998/08/20 15:17:11 tsarna Exp $ +# $NetBSD: Makefile,v 1.16 1998/09/15 17:05:06 agc Exp $ # FreeBSD Id: Makefile,v 1.4 1997/09/11 03:54:43 fenner Exp # @@ -17,7 +17,15 @@ BUILD_DEPENDS= ${GSM_WORK}/lib/libgsm.a:${GSM_DIR}:build DEPENDS+= tk-8.0p2:../../x11/tk80 #DEPENDS+= gsm-1.0.10:${GSM_DIR} -GSM_DIR= ${PKGSRCDIR}/audio/gsm +.include "../../mk/bsd.prefs.mk" + +.ifdef WRKOBJDIR +BUILD_ROOT= ${WRKOBJDIR} +.else +BUILD_ROOT= ${PKGSRCDIR} +.endif + +GSM_DIR= ${BUILD_ROOT}/audio/gsm GSM_WORK= ${GSM_DIR}/${WRKDIR:T}/gsm-1.0-pl10 GNU_CONFIGURE= yes -- cgit v1.2.3