summaryrefslogtreecommitdiff
path: root/mbone/nte
diff options
context:
space:
mode:
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"