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