diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2016-11-20 01:56:33 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2016-11-20 01:56:33 +0000 |
commit | 9ef2eb8602a3815688a5d3f92795baa90740a9f1 (patch) | |
tree | 6062e9aea423d5c02dd4c68e593a00aff3079ae1 /net-mgmt | |
parent | 76765c71cd22b855269de37587b81d77353808d1 (diff) | |
download | ports-9ef2eb8602a3815688a5d3f92795baa90740a9f1.tar.gz ports-9ef2eb8602a3815688a5d3f92795baa90740a9f1.zip |
As a test, restrict the dependency on dmidecode to x86.
Notes
Notes:
svn path=/head/; revision=426549
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/ocsinventory-agent/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/net-mgmt/ocsinventory-agent/Makefile b/net-mgmt/ocsinventory-agent/Makefile index bda57aba4cb7..9125d80310d9 100644 --- a/net-mgmt/ocsinventory-agent/Makefile +++ b/net-mgmt/ocsinventory-agent/Makefile @@ -15,8 +15,7 @@ COMMENT= Keep track of the computers configuration and software 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-mgmt/p5-Net-SNMP \ 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> |