From owner-svn-ports-all@freebsd.org Sun Nov 20 01:56:34 2016 Return-Path: Delivered-To: svn-ports-all@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 9056CC3E1D0; Sun, 20 Nov 2016 01:56:34 +0000 (UTC) (envelope-from linimon@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 621166B9; Sun, 20 Nov 2016 01:56:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAK1uX5R093241; Sun, 20 Nov 2016 01:56:33 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAK1uXCP093240; Sun, 20 Nov 2016 01:56:33 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201611200156.uAK1uXCP093240@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sun, 20 Nov 2016 01:56:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426549 - head/net-mgmt/ocsinventory-agent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Nov 2016 01:56:34 -0000 Author: linimon Date: Sun Nov 20 01:56:33 2016 New Revision: 426549 URL: https://svnweb.freebsd.org/changeset/ports/426549 Log: As a test, restrict the dependency on dmidecode to x86. Modified: head/net-mgmt/ocsinventory-agent/Makefile Modified: head/net-mgmt/ocsinventory-agent/Makefile ============================================================================== --- head/net-mgmt/ocsinventory-agent/Makefile Sun Nov 20 01:23:58 2016 (r426548) +++ head/net-mgmt/ocsinventory-agent/Makefile Sun Nov 20 01:56:33 2016 (r426549) @@ -15,8 +15,7 @@ COMMENT= Keep track of the computers con LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= dmidecode:sysutils/dmidecode \ - lspci:sysutils/pciutils \ +RUN_DEPENDS= lspci:sysutils/pciutils \ p5-Net-IP>=0:net-mgmt/p5-Net-IP \ p5-Proc-Daemon>=0:devel/p5-Proc-Daemon \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ @@ -53,4 +52,9 @@ SNMP_RUN_DEPENDS= p5-Net-SNMP>=0:net-mgm p5-Nmap-Parser>=0:security/p5-Nmap-Parser \ nmap:security/nmap -.include +.include + +.if ${ARCH} == amd64 || ${ARCH} == i386 +RUN_DEPENDS+= dmidecode:sysutils/dmidecode +.endif +.include