From 0707449c371febb35a73839a2347cdc2311c61e9 Mon Sep 17 00:00:00 2001 From: Martin Blapp Date: Sat, 12 Apr 2003 20:08:07 +0000 Subject: Allow to specify a different src base. Submitted by: Kim Scarborough PR: 44758 --- emulators/vmware2/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3