Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2020 18:35:21 +0000 (UTC)
From:      Larry Rosenman <ler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r522582 - head/sysutils/lsof
Message-ID:  <202001101835.00AIZLh7058656@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001101835.00AIZLh7058656>