On Tue, Apr 09, 2019 at 09:46:31PM +0530, Mayuresh wrote: > BTW I notice that pkgsrc's filesystems/fuse is version 2.9. Thus it may > not require compat22 patch. > > But I am not sure how to make fuse-encfs pick pkgsrc's fuse rather than > from base. I installed filesystems/fuse and did a clean build (by not > applying above patch), but it results in same error implying, fuse-encfs > is using base fuse.h.
Pasting this from mk/fuse.buildlink3.mk It appears that fuse/buildlink3.mk is included only for certain platforms. May be on NetBSD pkgsrc's fuse is not recommended? Please confirm. . elif ${OPSYS} == "Linux" . include "../../filesystems/fuse/buildlink3.mk" . elif !empty(MACHINE_PLATFORM:MSunOS-5.11-*) . if !exists(/usr/include/fuse/fuse.h) PKG_FAIL_REASON+= "Couldn't find fuse headers, please install libfuse." . endif . include "../../filesystems/fuse/buildlink3.mk" Mayuresh