svn commit: r426549 - head/net-mgmt/ocsinventory-agent
Mark Linimon
linimon at FreeBSD.org
Sun Nov 20 01:56:34 UTC 2016
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>
More information about the svn-ports-all
mailing list