summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorMartin Blapp <mbr@FreeBSD.org>2003-04-12 20:08:07 +0000
committerMartin Blapp <mbr@FreeBSD.org>2003-04-12 20:08:07 +0000
commit0707449c371febb35a73839a2347cdc2311c61e9 (patch)
treecefbea727986f34c812c58ba27848fa00c3972e3 /emulators
parentBecause of security vulnerability and no maintaince, so remove this port. (diff)
Allow to specify a different src base.
Submitted by: Kim Scarborough <sluggo@unknown.nu> PR: 44758
Notes
Notes: svn path=/head/; revision=78815
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware2/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/emulators/vmware2/Makefile b/emulators/vmware2/Makefile
index 0d54273469bc..541f439f006a 100644
--- a/emulators/vmware2/Makefile
+++ b/emulators/vmware2/Makefile
@@ -39,6 +39,7 @@ FREEBSD_MODULE_SITES= \
USE_SUBMAKE= yes
USE_LINUX= yes
VMDIR= ${PREFIX}/lib/vmware
+SRC_BASE?= /usr/src
ONLY_FOR_ARCHS= i386
USE_XLIB= yes
@@ -58,7 +59,7 @@ BROKEN= "Systems prior to 400013 is out of support"
BROKEN= "This software absolutely requires Linux procfs support"
.endif
-.if !exists(/sys/Makefile)
+.if !exists(/${SRC_BASE}/Makefile)
BROKEN= "Kernel source files required"
.endif