git: efbb15165072 - main - sysutils/lsof: fix after recent breakage

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Mon, 13 Jan 2025 23:52:28 UTC
The branch main has been updated by ler:

URL: https://cgit.FreeBSD.org/ports/commit/?id=efbb151650721f0dff7a761e08f7970951954ffa

commit efbb151650721f0dff7a761e08f7970951954ffa
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2025-01-13 23:51:28 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2025-01-13 23:52:23 +0000

    sysutils/lsof:  fix after recent breakage
    
    PR:     284004
    Patch By: brd, cy
---
 sysutils/lsof/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 7c27fdc3df99..12cdcdcebb9f 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -1,9 +1,8 @@
 # note: If someone has a fix for a particular ARCH please feel free
 #       to commit it.  I (ler) don't have access to all the ARCH's
-
 PORTNAME=	lsof
 DISTVERSION=	4.99.4
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	8
 CATEGORIES=	sysutils
 
@@ -43,7 +42,9 @@ BOOKE_CFLAGS=	-DBOOKE
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=		-n freebsd
 CONFIGURE_ENV=		FREEBSD_SYS="${SRC_BASE}/sys" \
-			LSOF_CC="${CC}"
+			LSOF_CC="${CC}" \
+                        LSOF_OPINC="-idirafter ${SRC_BASE}/sys"
+
 
 # GCC needs -lzfs -lzpool for reasons unknown.  If someone can
 # figure out why, I (ler) am all ears.