From owner-freebsd-ports Mon Mar 20 4:20: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 957CC37B92E for ; Mon, 20 Mar 2000 04:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA55110; Mon, 20 Mar 2000 04:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from gw-nl4.philips.com (gw-nl4.philips.com [192.68.44.36]) by hub.freebsd.org (Postfix) with ESMTP id 53E3837B8BB for ; Mon, 20 Mar 2000 04:11:44 -0800 (PST) (envelope-from Paul.Hernaus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl4.philips.com with ESMTP id NAA27005 for ; Mon, 20 Mar 2000 13:11:42 +0100 (MET) (envelope-from Paul.Hernaus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl4.philips.com via mwrap (4.0a) id xma027001; Mon, 20 Mar 00 13:11:42 +0100 Received: from itchy.mpn.cp.philips.com (itchy.mpn.cp.philips.com [130.139.64.191]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id NAA19455 for ; Mon, 20 Mar 2000 13:11:40 +0100 (MET) Received: by itchy.mpn.cp.philips.com (Postfix, from userid 100) id B77F9A868; Mon, 20 Mar 2000 13:11:40 +0100 (CET) Message-Id: <20000320121140.B77F9A868@itchy.mpn.cp.philips.com> Date: Mon, 20 Mar 2000 13:11:40 +0100 (CET) From: Paul.Hernaus@nl.origin-it.com Reply-To: paul@itchy.mpn.cp.philips.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/17503: lsof port doesn't build on 5.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17503 >Category: ports >Synopsis: lsof port doesn't build on FreeBSD 5.0 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 20 04:20:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Paul Hernaus >Release: FreeBSD 5.0-CURRENT i386 >Organization: Origin >Environment: All FreeBSD > 4.x (yes, at the moment that's only 5.0) >Description: The Configure script contained in the current lsof distribution (4.48) doesn't recognise FreeBSD 5.0, and is threated as FreeBSD 2.x. As a consequence the build of the current lsof port fails. >How-To-Repeat: On a 5.0 system: cd /usr/ports/sysutils/lsof make >Fix: Until the lsof distribution is fixed with respect to this problem, please add the following patch to the port skeleton: --- Configure Fri Jan 14 14:56:30 2000 +++ /tmp/Configure Mon Mar 20 13:01:42 2000 @@ -503,6 +503,9 @@ 4.1*) LSOF_VERS="40100" ;; + 5.0*) + LSOF_VERS="50000" + ;; *) echo Unknown BSDI release: `uname -r` echo Assuming BSDI 2.0 @@ -804,6 +807,9 @@ 4.0*) LSOF_VERS=400 ;; + 5.0*) + LSOF_VERS=500 + ;; *) echo Unknown FreeBSD release: `uname -r` echo Assuming FreeBSD 2.x @@ -879,7 +885,7 @@ LSOF_CFGF="$LSOF_CFGF -DHASVMLOCKH" fi # } ;; - 400) + 400|500) if test -r ${LSOF_INCLUDE}/sys/namei.h # { then grep -q "^struct[ ]*namecache[ ]*{" ${LSOF_INCLUDE}/sys/namei.h >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message