diff options
author | agc <agc@pkgsrc.org> | 1998-09-15 17:05:04 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1998-09-15 17:05:04 +0000 |
commit | aaf5955178c6caf930db329731cd58dd4a22ed82 (patch) | |
tree | 48ae37e9d777cd9f9314459490224420971e45c6 /mbone/nte | |
parent | 9050bdb93146490b7110b6fd84da6a7ce5bf8516 (diff) | |
download | pkgsrc-aaf5955178c6caf930db329731cd58dd4a22ed82.tar.gz |
Modifications for a read-only pkgsrc (but writable WRKOBJDIR).
Diffstat (limited to 'mbone/nte')
-rw-r--r-- | mbone/nte/Makefile | 14 |
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" |