diff options
Diffstat (limited to 'mk/fuse.buildlink3.mk')
-rw-r--r-- | mk/fuse.buildlink3.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/fuse.buildlink3.mk b/mk/fuse.buildlink3.mk index 3e8a5572258..b8396f5f29c 100644 --- a/mk/fuse.buildlink3.mk +++ b/mk/fuse.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: fuse.buildlink3.mk,v 1.6 2007/02/21 01:33:55 rillig Exp $ +# $NetBSD: fuse.buildlink3.mk,v 1.7 2007/03/06 00:03:40 xtraeme Exp $ # # Makefile fragment for packages using the FUSE framework. # @@ -12,7 +12,10 @@ FUSE_BUILDLINK3_MK= # defined . include "../../filesystems/fuse/buildlink3.mk" -. elif (${OPSYS} == "NetBSD") && exists(/usr/include/fuse.h) +. elif ${OPSYS} == "NetBSD" +. if !exists(/usr/include/fuse.h) +PKG_FAIL_REASON+= "Couldn't find fuse headers, please install librefuse." +. endif . if !empty(USE_TOOLS:C/:.*//:Mpkg-config) do-configure-pre-hook: override-fuse-pkgconfig |