svn commit: r552304 - head/sysutils/lsof

Piotr Kubaj pkubaj at FreeBSD.org
Wed Oct 14 07:49:19 UTC 2020


Author: pkubaj
Date: Wed Oct 14 07:49:18 2020
New Revision: 552304
URL: https://svnweb.freebsd.org/changeset/ports/552304

Log:
  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)

Modified:
  head/sysutils/lsof/Makefile

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Wed Oct 14 07:20:46 2020	(r552303)
+++ head/sysutils/lsof/Makefile	Wed Oct 14 07:49:18 2020	(r552304)
@@ -48,7 +48,7 @@ CONFIGURE_ENV=	LSOF_CC="${CC}" FREEBSD_SYS="${SRC_BASE
 # 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)


More information about the svn-ports-head mailing list