From owner-svn-ports-head@freebsd.org Mon Dec 11 15:26:25 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D5DDE94FA9; Mon, 11 Dec 2017 15:26:25 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC21D6A39E; Mon, 11 Dec 2017 15:26:24 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBBFQNhf006709; Mon, 11 Dec 2017 15:26:23 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBBFQNDD006708; Mon, 11 Dec 2017 15:26:23 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201712111526.vBBFQNDD006708@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Mon, 11 Dec 2017 15:26:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r456045 - head/sysutils/lscpu X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/sysutils/lscpu X-SVN-Commit-Revision: 456045 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Dec 2017 15:26:25 -0000 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