From owner-svn-ports-head@freebsd.org Thu Jan 21 17:31:05 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D4B784DA501; Thu, 21 Jan 2021 17:31:05 +0000 (UTC) (envelope-from mhorne@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DM8Z15kTtz4fLS; Thu, 21 Jan 2021 17:31:05 +0000 (UTC) (envelope-from mhorne@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B7F407ACE; Thu, 21 Jan 2021 17:31:05 +0000 (UTC) (envelope-from mhorne@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10LHV5Gj010091; Thu, 21 Jan 2021 17:31:05 GMT (envelope-from mhorne@FreeBSD.org) Received: (from mhorne@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10LHV5RW010089; Thu, 21 Jan 2021 17:31:05 GMT (envelope-from mhorne@FreeBSD.org) Message-Id: <202101211731.10LHV5RW010089@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mhorne set sender to mhorne@FreeBSD.org using -f From: Mitchell Horne Date: Thu, 21 Jan 2021 17:31:05 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562225 - head/sysutils/dmidecode X-SVN-Group: ports-head X-SVN-Commit-Author: mhorne X-SVN-Commit-Paths: head/sysutils/dmidecode X-SVN-Commit-Revision: 562225 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.34 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: Thu, 21 Jan 2021 17:31:05 -0000 Author: mhorne (src committer) Date: Thu Jan 21 17:31:05 2021 New Revision: 562225 URL: https://svnweb.freebsd.org/changeset/ports/562225 Log: sysutils/dmidecode: expand platform support SMBIOS data is made available on all EFI platforms, including arm64, arm, and riscv. Allow the port to be built for these architectures, excluding the x86-specific utilities. Reviewed by: lwhsu, emaste Approved by: lwhsu (ports) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28244 Modified: head/sysutils/dmidecode/Makefile head/sysutils/dmidecode/pkg-plist Modified: head/sysutils/dmidecode/Makefile ============================================================================== --- head/sysutils/dmidecode/Makefile Thu Jan 21 17:03:10 2021 (r562224) +++ head/sysutils/dmidecode/Makefile Thu Jan 21 17:31:05 2021 (r562225) @@ -12,7 +12,7 @@ COMMENT= Tool for dumping DMI (SMBIOS) contents in hum LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -ONLY_FOR_ARCHS= amd64 i386 +ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 riscv64 riscv64sf USES= tar:xz @@ -20,8 +20,17 @@ SUB_FILES= dmidecode OPTIONS_DEFINE= DOCS +.include + +# Additional programs are only built for x86 platforms. +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +PLIST_SUB+= X86="" +.else +PLIST_SUB+= X86="@comment " +.endif + post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily/ ${INSTALL_SCRIPT} ${WRKDIR}/dmidecode ${STAGEDIR}${PREFIX}/etc/periodic/daily/ -.include +.include Modified: head/sysutils/dmidecode/pkg-plist ============================================================================== --- head/sysutils/dmidecode/pkg-plist Thu Jan 21 17:03:10 2021 (r562224) +++ head/sysutils/dmidecode/pkg-plist Thu Jan 21 17:31:05 2021 (r562225) @@ -1,12 +1,12 @@ etc/periodic/daily/dmidecode -man/man8/biosdecode.8.gz -man/man8/dmidecode.8.gz -man/man8/ownership.8.gz -man/man8/vpddecode.8.gz -sbin/biosdecode sbin/dmidecode -sbin/ownership -sbin/vpddecode +man/man8/dmidecode.8.gz +%%X86%%man/man8/biosdecode.8.gz +%%X86%%man/man8/ownership.8.gz +%%X86%%man/man8/vpddecode.8.gz +%%X86%%sbin/biosdecode +%%X86%%sbin/ownership +%%X86%%sbin/vpddecode %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README