summaryrefslogtreecommitdiff
path: root/emulators/vmware-module3
diff options
context:
space:
mode:
authortron <tron>2003-06-26 06:50:02 +0000
committertron <tron>2003-06-26 06:50:02 +0000
commitd0cf3fe0bca5040e8f7e39e73f847199c5e35031 (patch)
treeeb1b1e0c860d17926cb8b2a118e73db0c2c5eeca /emulators/vmware-module3
parentf4065eac08447693b3d97ef96f0b59b8441e9f70 (diff)
downloadpkgsrc-d0cf3fe0bca5040e8f7e39e73f847199c5e35031.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."