Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 01:56:33 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426549 - head/net-mgmt/ocsinventory-agent
Message-ID:  <201611200156.uAK1uXCP093240@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == amd64 || ${ARCH} == i386
+RUN_DEPENDS+=	dmidecode:sysutils/dmidecode
+.endif
+.include <bsd.port.post.mk>



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