sysutils/lsof: add a PPC64 work around for needing -lzpool
PR: 242833 Submitted by: luciano@vespaperitivo.it
This commit is contained in:
parent
d0edcbbbd2
commit
b61cfbf88d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=522582
1 changed files with 10 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
# Created by: David O'Brien <obrien@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
# 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.93.2
|
||||
PORTREVISION= 9
|
||||
|
@ -30,6 +33,13 @@ CONFIGURE_SCRIPT= Configure
|
|||
CONFIGURE_ARGS= -n freebsd
|
||||
CONFIGURE_ENV= LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE}/sys"
|
||||
|
||||
# PPC64 needs -lzpool for reasons unknown. If someone can
|
||||
# figure out why, I (ler) am all ears.
|
||||
.if ${ARCH} == powerpc64
|
||||
CONFIGURE_ENV+= LSOF_CFGL="-lzpool"
|
||||
. endif
|
||||
|
||||
|
||||
.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)
|
||||
IGNORE+= requires kernel sources
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue