diff options
| author | Sergey A. Osokin <osa@FreeBSD.org> | 2025-01-11 22:08:03 +0000 |
|---|---|---|
| committer | Sergey A. Osokin <osa@FreeBSD.org> | 2025-01-11 22:08:03 +0000 |
| commit | 1ec769ae9a6481944993855876671b3fea28c98f (patch) | |
| tree | e180519c93645fb580896ff5138a1532a945728b /sysutils/lsof | |
| parent | d4797e8e29b54f7e93fa4f71ca8b2d7e93abab83 (diff) | |
Diffstat (limited to 'sysutils/lsof')
| -rw-r--r-- | sysutils/lsof/Makefile | 8 |
1 files 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} |
