Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Jan 2025 22:09:10 GMT
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1ec769ae9a64 - main - sysutils/lsof: pet portlint(1)
Message-ID:  <202501112209.50BM9AYc041395@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa:

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

commit 1ec769ae9a6481944993855876671b3fea28c98f
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2025-01-11 22:08:03 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2025-01-11 22:08:03 +0000

    sysutils/lsof: pet portlint(1)
    
    Fixes:  e16a8f7d71053d0074d26ce16593a8c284b22a82
---
 sysutils/lsof/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 61a5f73d0540..fa94a48a4c3c 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -16,12 +16,13 @@ LICENSE_NAME=	lsof
 LICENSE_FILE=	${FILESDIR}/LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-
 USES=		compiler cpe shebangfix
 CPE_VENDOR=	lsof_project
 USE_GITHUB=	yes
 GH_ACCOUNT=	lsof-org
 
+BUILD_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash
+
 SHEBANG_FILES=	scripts/*.pl
 
 HAS_CONFIGURE=	yes
@@ -42,8 +43,7 @@ BOOKE_CFLAGS=	-DBOOKE
 CONFIGURE_SCRIPT=	Configure
 CONFIGURE_ARGS=		-n freebsd
 CONFIGURE_ENV=		FREEBSD_SYS="${SRC_BASE}/sys" \
-			LSOF_CC="${CC} -idirafter /usr/src" 
-BUILD_DEPENDS=		${LOCALBASE}/bin/bash:shells/bash
+			LSOF_CC="${CC} -idirafter ${SRC_BASE}"
 
 # GCC needs -lzfs -lzpool for reasons unknown.  If someone can
 # figure out why, I (ler) am all ears.
@@ -57,7 +57,7 @@ IGNORE+=	requires kernel sources
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lsof ${STAGEDIR}${PREFIX}/sbin
-	(cd ${WRKSRC} && /usr/bin/soelim Lsof.8 > ${WRKSRC}/lsof.8)
+	(cd ${WRKSRC} && ${SOELIM} Lsof.8 > ${WRKSRC}/lsof.8)
 	${INSTALL_MAN} ${WRKSRC}/lsof.8 ${STAGEDIR}${MANDIRS}/man8/lsof.8
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${STAGEDIR}${DATADIR}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501112209.50BM9AYc041395>