svn commit: r522582 - head/sysutils/lsof

Larry Rosenman ler at FreeBSD.org
Fri Jan 10 18:35:21 UTC 2020


Author: ler
Date: Fri Jan 10 18:35:20 2020
New Revision: 522582
URL: https://svnweb.freebsd.org/changeset/ports/522582

Log:
  sysutils/lsof: add a PPC64 work around for needing -lzpool
  
  PR:		242833
  Submitted by:	luciano at vespaperitivo.it

Modified:
  head/sysutils/lsof/Makefile

Modified: head/sysutils/lsof/Makefile
==============================================================================
--- head/sysutils/lsof/Makefile	Fri Jan 10 18:29:51 2020	(r522581)
+++ head/sysutils/lsof/Makefile	Fri Jan 10 18:35:20 2020	(r522582)
@@ -1,6 +1,9 @@
 # Created by: David O'Brien <obrien at 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
@@ -29,6 +32,13 @@ SHEBANG_FILES=	scripts/sort_res.perl5
 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


More information about the svn-ports-all mailing list