summaryrefslogtreecommitdiff
path: root/mbone/nte
diff options
context:
space:
mode:
authoragc <agc>1998-09-15 17:05:04 +0000
committeragc <agc>1998-09-15 17:05:04 +0000
commitae2b85d8c3a27425ac2782b9a644a7f23b6fca38 (patch)
tree48ae37e9d777cd9f9314459490224420971e45c6 /mbone/nte
parent9eb9a7409fdb68f6804e067d60c9c7ab5e6e66ba (diff)
downloadpkgsrc-ae2b85d8c3a27425ac2782b9a644a7f23b6fca38.tar.gz
Modifications for a read-only pkgsrc (but writable WRKOBJDIR).
Diffstat (limited to 'mbone/nte')
-rw-r--r--mbone/nte/Makefile14
1 files changed, 11 insertions, 3 deletions
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"