summaryrefslogtreecommitdiff
path: root/sysutils/lsof/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-14 07:49:18 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-10-14 07:49:18 +0000
commit1e65560531e4548e5e0f2a2d93a64d74fd3f5c41 (patch)
tree0b6771750a37268758e3a0475dfc45bcdf06891a /sysutils/lsof/Makefile
parentdevel/py-oci: Update to 2.23.0 (diff)
sysutils/lsof: fix build on 12.2-RC2 on powerpc(64)
Link also to libzfs: /usr/lib/libzpool.so: undefined reference to `get_system_hostid' MFH: 2020Q4 (fix build blanket)
Notes
Notes: svn path=/head/; revision=552304
Diffstat (limited to 'sysutils/lsof/Makefile')
-rw-r--r--sysutils/lsof/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 5af1abb3bf00..d25279dbfbfd 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -48,7 +48,7 @@ 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 || ${ARCH} == powerpc
-CONFIGURE_ENV+= LSOF_CFGL="-lzpool"
+CONFIGURE_ENV+= LSOF_CFGL="-lzfs -lzpool"
. endif
.if !exists(${SRC_BASE}/sys/kern/kern_lockf.c)