summaryrefslogtreecommitdiff
path: root/emulators/vmware-module3
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2003-06-26 06:50:02 +0000
committertron <tron@pkgsrc.org>2003-06-26 06:50:02 +0000
commita32a43232aa32aa19f63bed637d06e79de79192e (patch)
treeeb1b1e0c860d17926cb8b2a118e73db0c2c5eeca /emulators/vmware-module3
parent1af7c0fe8aa631ecf223bd39a8892e1a58855529 (diff)
downloadpkgsrc-a32a43232aa32aa19f63bed637d06e79de79192e.tar.gz
Don't defined "BSDSRCDIR" to "/nonexistent" because it breaks people
whose "/etc/mk.conf" defines it with "BSDSRCDIR?=...".
Diffstat (limited to 'emulators/vmware-module3')
-rw-r--r--emulators/vmware-module3/Makefile7
1 files changed, 2 insertions, 5 deletions
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 <bsd.own.mk>, 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."