From a32a43232aa32aa19f63bed637d06e79de79192e Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 26 Jun 2003 06:50:02 +0000 Subject: Don't defined "BSDSRCDIR" to "/nonexistent" because it breaks people whose "/etc/mk.conf" defines it with "BSDSRCDIR?=...". --- emulators/vmware-module3/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'emulators/vmware-module3') diff --git a/emulators/vmware-module3/Makefile b/emulators/vmware-module3/Makefile index 6b4ebaaa4ed..0a44744860d 100644 --- a/emulators/vmware-module3/Makefile +++ b/emulators/vmware-module3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/06/02 01:19:51 jschauma Exp $ +# $NetBSD: Makefile,v 1.8 2003/06/26 06:50:02 tron Exp $ DISTNAME= vmware-netbsd-3.2.2 PKGNAME= vmware-module-3.2.2 @@ -19,13 +19,10 @@ NO_CONFIGURE= # defined NO_SRC_ON_FTP= already there -# to override , MUST be set this way BEFORE bsd.prefs.mk -BSDSRCDIR?= /nonexistent - .include "../../mk/bsd.prefs.mk" pre-extract: -.if ${BSDSRCDIR} == "/nonexistent" +.if !exists(${BSDSRCDIR}/sys/lib/libkern/libkern.h) @${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." -- cgit v1.2.3