Re: sysutils/hw-probe: only add the dmidecode dependency for i386 and amd64

2020-11-22 Thread Kevin Lo
On Fri, Nov 20, 2020 at 08:00:01AM +, David Dahlberg wrote: > > On Fri, 2020-11-20 at 13:29 +0800, Kevin Lo wrote: > > > hw-probe could run on non-x86 architectures. > > Tested on arm64 [1] and octeon [2]. > [..] > > +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" > >

Re: sysutils/hw-probe: only add the dmidecode dependency for i386 and amd64

2020-11-20 Thread David Dahlberg
On Fri, 2020-11-20 at 13:29 +0800, Kevin Lo wrote: > hw-probe could run on non-x86 architectures. > Tested on arm64 [1] and octeon [2]. [..] > +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" > +RUN_DEPENDS += sysutils/dmidecode > +.endif Hmm, although dmidecode does only package for

sysutils/hw-probe: only add the dmidecode dependency for i386 and amd64

2020-11-19 Thread Kevin Lo
Hi, hw-probe could run on non-x86 architectures. Tested on arm64 [1] and octeon [2]. [1] https://bsd-hardware.info/index.php?probe=c030400069 [2] https://bsd-hardware.info/?probe=b8524b5002 ok? Index: sysutils/hw-probe/Makefile