sysutils/lsof: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
a1e7080787
commit
6eab795f2a
1 changed files with 7 additions and 5 deletions
|
|
@ -1,8 +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= 2
|
||||
PORTEPOCH= 8
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
|
@ -20,6 +20,8 @@ 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
|
||||
|
|
@ -40,8 +42,8 @@ BOOKE_CFLAGS= -DBOOKE
|
|||
CONFIGURE_SCRIPT= Configure
|
||||
CONFIGURE_ARGS= -n freebsd
|
||||
CONFIGURE_ENV= FREEBSD_SYS="${SRC_BASE}/sys" \
|
||||
LSOF_CC="${CC}"
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash
|
||||
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.
|
||||
|
|
@ -50,12 +52,12 @@ CONFIGURE_ENV+= LSOF_CFGL="-lzfs -lzpool"
|
|||
.endif
|
||||
|
||||
.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
|
||||
IGNORE+= requires kernel sources
|
||||
IGNORE+= requires kernel sources (or set SRC_BASE)
|
||||
.endif
|
||||
|
||||
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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue