From c1701bed1e8cd47ab5e48f6ceea79da19484bac0 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 25 Oct 2007 09:29:11 +0000 Subject: [PATCH] - Fix Configure on 8-CURRENT PR: 117370 Submitted by: Yuri Pankov Approved by: maintainer --- sysutils/lsof/Makefile | 1 + sysutils/lsof/files/patch-configure | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 sysutils/lsof/files/patch-configure diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index 7dc95074efa5..494dce24cdb5 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -8,6 +8,7 @@ PORTNAME= lsof PORTVERSION= 4.79C +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/ \ ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ \ diff --git a/sysutils/lsof/files/patch-configure b/sysutils/lsof/files/patch-configure new file mode 100644 index 000000000000..540ddbd50030 --- /dev/null +++ b/sysutils/lsof/files/patch-configure @@ -0,0 +1,14 @@ +--- ./Configure.orig 2007-10-21 08:13:35.000000000 +0400 ++++ ./Configure 2007-10-21 08:14:39.000000000 +0400 +@@ -1438,6 +1438,11 @@ + echo "!!!WARNING!!! Unsupported FreeBSD version: $LSOF_VSTR" + echo "!!!WARNING!!! Configuring for FreeBSD 7.0" + ;; ++ 8*) ++ LSOF_VERS=7000 ++ echo "!!!WARNING!!! Unsupported FreeBSD version: $LSOF_VSTR" ++ echo "!!!WARNING!!! Configuring for FreeBSD 7.0" ++ ;; + *) + echo Unknown FreeBSD release: `uname -r` + echo Assuming FreeBSD 2.x