diff options
author | agc <agc> | 1998-09-15 17:05:04 +0000 |
---|---|---|
committer | agc <agc> | 1998-09-15 17:05:04 +0000 |
commit | ae2b85d8c3a27425ac2782b9a644a7f23b6fca38 (patch) | |
tree | 48ae37e9d777cd9f9314459490224420971e45c6 /plan9 | |
parent | 9eb9a7409fdb68f6804e067d60c9c7ab5e6e66ba (diff) | |
download | pkgsrc-ae2b85d8c3a27425ac2782b9a644a7f23b6fca38.tar.gz |
Modifications for a read-only pkgsrc (but writable WRKOBJDIR).
Diffstat (limited to 'plan9')
-rw-r--r-- | plan9/9term/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/plan9/9term/Makefile b/plan9/9term/Makefile index 0ec0f023236..f98be929979 100644 --- a/plan9/9term/Makefile +++ b/plan9/9term/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 1998/09/09 12:29:48 agc Exp $ +# $NetBSD: Makefile,v 1.14 1998/09/15 17:05:07 agc Exp $ # FreeBSD Id: Makefile,v 1.5 1996/12/07 23:43:56 asami Exp # @@ -10,15 +10,18 @@ MASTER_SITES= ftp://ftp.ecf.toronto.edu/pub/plan9/matty/ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.psrg.cs.usyd.edu.au/~matty/9term/index.html -# needs library and private header, but not during runtime -BUILD_DEPENDS= ${PKGSRCDIR}/plan9/sam/${WRKDIR:T}/libframe/libframe.a:../../plan9/sam +.include "../../mk/bsd.prefs.mk" -OPSYS!= uname -s -.if (${OPSYS} == "NetBSD") -MANCOMPRESSED= yes +# needs library and private header, but not during runtime +.ifdef WRKOBJDIR +BUILD_ROOT= ${WRKOBJDIR} +.else +BUILD_ROOT= ${PKGSRCDIR} .endif +BUILD_DEPENDS= ${BUILD_ROOT}/plan9/sam/${WRKDIR:T}/libframe/libframe.a:../../plan9/sam +MANCOMPRESSED= yes NO_WRKSUBDIR= yes -MAKE_ENV+= WRKDIR=${WRKDIR} PKGSRCDIR=${PKGSRCDIR} +MAKE_ENV+= WRKDIR=${WRKDIR} PKGSRCDIR=${BUILD_ROOT} .include "../../mk/bsd.pkg.mk" |