From owner-freebsd-ports Mon Jan 25 11:00:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA23458 for freebsd-ports-outgoing; Mon, 25 Jan 1999 11:00:06 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA23381 for ; Mon, 25 Jan 1999 11:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id LAA00726; Mon, 25 Jan 1999 11:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA22465 for ; Mon, 25 Jan 1999 10:49:42 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 2.10 #1) id 104r4r-0003A1-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 25 Jan 1999 20:49:37 +0200 Message-Id: <12152.917290177@axl.noc.iafrica.com> Date: Mon, 25 Jan 1999 20:49:37 +0200 From: Sheldon Hearn Reply-To: Sheldon Hearn To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9684: [PATCH] sysutils/lsof broken for 4.0-CURRENT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9684 >Category: ports >Synopsis: [PATCH] sysutils/lsof broken for 4.0-CURRENT >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 25 11:00:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Sheldon Hearn >Release: FreeBSD 4.0-CURRENT i386 >Organization: UUNET Internet Africa >Environment: FreeBSD 4.0-CURRENT >Description: The Configure script for sysutils/lsof doesn't know about FreeBSD 4.0 and assumes a FreeBSD 2.2 environment, where libkvm doesn't exist (I think, perhaps it's just different). >How-To-Repeat: On a machine where ``uname -r'' reports 4.0-CURRENT, do ``cd /usr/ports/sysutils/lsof; make''. >Fix: The following diff to the port's patch-ab teaches lsof's Configure script about FreeBSD 4.0: Index: ports/sysutils/lsof/patches/patch-ab =================================================================== RCS file: /home/ncvs/ports/sysutils/lsof/patches/patch-ab,v retrieving revision 1.1 diff -u -d -r1.1 patch-ab --- patch-ab 1999/01/04 05:43:31 1.1 +++ patch-ab 1999/01/25 18:37:43 @@ -11,6 +11,18 @@ LSOF_VSTR=`uname -r` --- 694,699 ---- *************** +*** 723,728 **** +--- 722,730 ---- + 3.0*) + LSOF_VERS=300 + ;; ++ 4.0*) ++ LSOF_VERS=300 ++ ;; + *) + echo Unknown FreeBSD release: `uname -r` + echo Assuming FreeBSD 2.x +*************** *** 2608,2618 **** echo "# $LSOF_TGT Makefile for lsof version $LSOF_VN" > $LSOF_MKFC >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message