From owner-freebsd-ports Wed Oct 30 8:42:33 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EBB537B406 for ; Wed, 30 Oct 2002 08:40:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90AED43E75 for ; Wed, 30 Oct 2002 08:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9UGe1x3008056 for ; Wed, 30 Oct 2002 08:40:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9UGe1HX008055; Wed, 30 Oct 2002 08:40:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63F2437B404 for ; Wed, 30 Oct 2002 08:30:03 -0800 (PST) Received: from jinx.unknown.nu (jinx.unknown.nu [66.201.234.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id C750543E6E for ; Wed, 30 Oct 2002 08:30:02 -0800 (PST) (envelope-from sluggo@unknown.nu) Received: by jinx.unknown.nu (Postfix, from userid 1002) id 26AC1346; Wed, 30 Oct 2002 11:29:55 -0500 (EST) Message-Id: <20021030162955.26AC1346@jinx.unknown.nu> Date: Wed, 30 Oct 2002 11:29:55 -0500 (EST) From: Kim Scarborough To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/44758: Port emulators/vmware2 has a hard-code path for kernel src Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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