From owner-freebsd-ports@FreeBSD.ORG Sun Nov 21 01:25:43 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25BA316A4CE for ; Sun, 21 Nov 2004 01:25:43 +0000 (GMT) Received: from bloodwood.hunterlink.net.au (smtp-local.hunterlink.net.au [203.12.144.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B37D43D49 for ; Sun, 21 Nov 2004 01:25:41 +0000 (GMT) (envelope-from boris@brooknet.com.au) Received: from [61.8.32.123] (ppp207B.dyn.pacific.net.au [61.8.32.123]) iAL1IlgJ019056; Sun, 21 Nov 2004 12:18:48 +1100 Message-ID: <419FEE89.1090004@brooknet.com.au> Date: Sun, 21 Nov 2004 12:25:29 +1100 From: Sam Lawrance User-Agent: Mozilla Thunderbird 0.9 (X11/20041115) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Brown References: <200411202218.iAKMIaiW047097@chilled.skew.org> In-Reply-To: <200411202218.iAKMIaiW047097@chilled.skew.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org Subject: Re: bsd.port.Mk error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Nov 2004 01:25:43 -0000 Mike Brown wrote: >2. I accidentally typed "make" in a directory that did not have a Makefile, >and got this error: > >"/usr/ports/Mk/bsd.port.mk", line 1459: Bad X_WINDOW_SYSTEM setting > >I do not have X11 installed on my system. I don't see anything in the Makefile >that would have resulted in arriving at line 1459. If OSVERSION is being set >by "/sbin/sysctl -n kern.osreldate" then it is "490102", and AFAIK, >XFREE86_VERSION is not defined. Therefore around line 1180, X_WINDOW_SYSTEM >should be set to "xfree86-4", and the elif around line 1424 should kick in. >But somehow it falls through to the else. > >Any ideas? > > There must have been a Makefile in there somewhere, otherwise bsd.port.mk wouldn't have been included.