svn commit: r456045 - head/sysutils/lscpu

Cy Schubert Cy.Schubert at komquats.com
Mon Dec 11 15:46:34 UTC 2017


Nice.

---
Sent using a tiny phone keyboard.
Apologies for any typos and autocorrect.
Also, this old phone only supports top post. Apologies.

Cy Schubert
<Cy.Schubert at cschubert.com> or <cy at freebsd.org>
The need of the many outweighs the greed of the few.
---

-----Original Message-----
From: Alexey Dokuchaev
Sent: 11/12/2017 07:26
To: ports-committers at freebsd.org; svn-ports-all at freebsd.org; svn-ports-head at freebsd.org
Subject: svn commit: r456045 - head/sysutils/lscpu

Author: danfe
Date: Mon Dec 11 15:26:23 2017
New Revision: 456045
URL: https://svnweb.freebsd.org/changeset/ports/456045

Log:
  Add ONLY_FOR_ARCHS_REASON statement: while it attempts to query generic CPU
  information using sysctl(3) CTL_HW* identifiers, it does not properly guard
  x86-specific code paths.
  
  Requested by:	mat

Modified:
  head/sysutils/lscpu/Makefile

Modified: head/sysutils/lscpu/Makefile
==============================================================================
--- head/sysutils/lscpu/Makefile	Mon Dec 11 14:53:44 2017	(r456044)
+++ head/sysutils/lscpu/Makefile	Mon Dec 11 15:26:23 2017	(r456045)
@@ -11,6 +11,7 @@ COMMENT=	Display information about the CPU architectur
 LICENSE=	BSD3CLAUSE
 
 ONLY_FOR_ARCHS=	amd64 i386
+ONLY_FOR_ARCHS_REASON=	unconditionally invokes x86-specific code
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	NanXiao



More information about the svn-ports-head mailing list