HomeFreeBSD

Fix integration with zfsd_unittest

Description

Fix integration with zfsd_unittest

The previous code didn't nul out SRCS after setting the pre-bsd.progs.mk value,
however, when recursing down into bsd.prog.mk, it was appending the per-prog
value to the value of SRCS.

The other catch is that code did not install the zfsd headers, so some of the
headers, e.g., callout.h could not be found. So, add
-I${SRCTOP}/cddl/usr.sbin to CXXFLAGS.

While here, fix a typo: LIBDADD.zfsd_unittest should have been
LIBADD.zfsd_unittest, and remove the superfluous DPADD part which was never
required post-LIBADD integration.

Details

Provenance
ngieAuthored on
Parents
rS345041: Update ccr(4) to note recent support for SHA2-224 and plain SHA hashes.
Branches
Unknown
Tags
Unknown