Date: Wed, 30 Oct 2002 11:29:55 -0500 (EST) From: Kim Scarborough <sluggo@unknown.nu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/44758: Port emulators/vmware2 has a hard-code path for kernel src Message-ID: <20021030162955.26AC1346@jinx.unknown.nu>
next in thread | raw e-mail | index | archive | help
>Number: 44758 >Category: ports >Synopsis: Port emulators/vmware2 has a hard-code path for kernel src >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 30 08:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kim Scarborough >Release: FreeBSD 4.6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD jinx.unknown.nu 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #2: Sat Aug 24 09:57:25 EDT 2002 toor@jinx.unknown.nu:/usr/src/sys/compile/JINX i386 >Description: The Makefile for emulators/vmware2 assumes kernel source files are in /src. Some of us like to keep our top level relatively clean... >How-To-Repeat: rm /src cd /usr/ports/emulators/vmware2 make >Fix: At least one other port uses the SRC_BASE variable to indicate src location. This patch will account for that (and if it's not set but the /src symlink is still intact, this shouldn't break it): --- Makefile.ORIG Sun Sep 8 21:04:58 2002 +++ Makefile Wed Oct 30 10:23:00 2002 @@ -58,8 +58,8 @@ BROKEN= "This software absolutely requires Linux procfs support" .endif -.if !exists(/sys/Makefile) -BROKEN= "Kernel source files required" +.if !exists(${SRC_BASE}/sys/Makefile) +BROKEN= "Kernel source files required; if in a non-standard place, be sure to set SRC_BASE" .endif .if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021030162955.26AC1346>