diff options
author | tron <tron@pkgsrc.org> | 2002-12-04 14:13:16 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-12-04 14:13:16 +0000 |
commit | 1122d8f780c61ec35903b4f12f9e85055b446c80 (patch) | |
tree | 4d7bb3c5b82d8df44894e5c4dcb51241cfa15f4f /sysutils/aperture | |
parent | bc1209ce22707186072b30e8941d973ce48f7edc (diff) | |
download | pkgsrc-1122d8f780c61ec35903b4f12f9e85055b446c80.tar.gz |
Don't defined "BSDSRCDIR" to "/nonexistent" because it breaks people
whose "/etc/mk.conf" defines it with "BSDSRCDIR?=...".
Diffstat (limited to 'sysutils/aperture')
-rw-r--r-- | sysutils/aperture/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sysutils/aperture/Makefile b/sysutils/aperture/Makefile index cb2522b033f..6fee940bcd3 100644 --- a/sysutils/aperture/Makefile +++ b/sysutils/aperture/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2002/11/10 07:59:02 tron Exp $ +# $NetBSD: Makefile,v 1.25 2002/12/04 14:13:16 tron Exp $ DISTNAME= apNetBSD PKGNAME= aperture-2.0 @@ -35,19 +35,9 @@ NO_CONFIGURE= YES OSVERSION_SPECIFIC= YES MAKE_ENV+= BSDSRCDIR="${BSDSRCDIR}" -BSDSRCDIR?= /nonexistent # to override <bsd.own.mk>, MUST be - # set this way BEFORE bsd.prefs.mk - .include "../../mk/bsd.prefs.mk" pre-extract: -.if ${BSDSRCDIR} == "/nonexistent" - @${ECHO_MSG} "Please set BSDSRCDIR in /etc/mk.conf, pointing it" - @${ECHO_MSG} "to a directory that contains sources that match" - @${ECHO_MSG} "your currently running system (esp. kernel), e.g." - @${ECHO_MSG} "/usr/src." - @${FALSE} -.endif .if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h) @${ECHO_MSG} "Need a kernel source tree in ${BSDSRCDIR}/sys." @${ECHO_MSG} "(Or set BSDSRCDIR correctly in /etc/mk.conf.)" |