summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortron <tron>2002-12-04 14:13:16 +0000
committertron <tron>2002-12-04 14:13:16 +0000
commitee737e3559a523fc1126c12d9b132b6093fca0a6 (patch)
tree4d7bb3c5b82d8df44894e5c4dcb51241cfa15f4f /sysutils
parent774e3d04a5694b30d2e76b354bfca4dea0d9432b (diff)
downloadpkgsrc-ee737e3559a523fc1126c12d9b132b6093fca0a6.tar.gz
Don't defined "BSDSRCDIR" to "/nonexistent" because it breaks people
whose "/etc/mk.conf" defines it with "BSDSRCDIR?=...".
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/aperture/Makefile12
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.)"