r261894 moved all of the ZFS devd rules out of devd.conf into zfs.conf. The attached patch enhances r261894 by only installing zfs.conf if WITH_ZFS is specified. Fix: Patch attached with submission follows:
A commit references this bug: Author: ngie Date: Fri Aug 15 21:35:32 UTC 2014 New revision: 270028 URL: http://svnweb.freebsd.org/changeset/base/270028 Log: Make the USB and ZFS devd configuration files optional depending on the values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division Changes: head/etc/devd/Makefile head/tools/build/mk/OptionalObsoleteFiles.inc
Sidenote: MFCing r270028 would require adjusting src.opts.mk to bsd.own.mk. I'm closing the PR because I was the only driver for this change.
A commit references this bug: Author: ngie Date: Thu Feb 5 10:21:22 UTC 2015 New revision: 278244 URL: https://svnweb.freebsd.org/changeset/base/278244 Log: MFC r270028: r270028: Make the USB and ZFS devd configuration files optional depending on the values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division Changes: _U stable/10/ stable/10/etc/devd/Makefile stable/10/tools/build/mk/OptionalObsoleteFiles.inc
A commit references this bug: Author: ngie Date: Thu Feb 5 10:26:25 UTC 2015 New revision: 278245 URL: https://svnweb.freebsd.org/changeset/base/278245 Log: MFstable/10 r278244: MFC r270028: Make the USB and ZFS devd configuration files optional depending on the values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division Changes: _U stable/9/ _U stable/9/etc/ stable/9/etc/devd/Makefile _U stable/9/tools/ _U stable/9/tools/build/ stable/9/tools/build/mk/OptionalObsoleteFiles.inc