diff options
author | linimon <linimon@FreeBSD.org> | 2016-11-20 09:56:33 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2016-11-20 09:56:33 +0800 |
commit | cc640b5326f00edcc11a84bf9f1e51bf887d145f (patch) | |
tree | 6062e9aea423d5c02dd4c68e593a00aff3079ae1 /net-mgmt | |
parent | 28e2900df0d6533e99fdfa0d9390b95ac28da350 (diff) | |
download | freebsd-ports-gnome-cc640b5326f00edcc11a84bf9f1e51bf887d145f.tar.gz freebsd-ports-gnome-cc640b5326f00edcc11a84bf9f1e51bf887d145f.tar.zst freebsd-ports-gnome-cc640b5326f00edcc11a84bf9f1e51bf887d145f.zip |
As a test, restrict the dependency on dmidecode to x86.
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> |