summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-03-06 00:03:40 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-03-06 00:03:40 +0000
commitfd52fae77153ee5c3f10824b8180d8e383768779 (patch)
treed2c5bb04838e08e09c2ec30c5eca30354ab2d1fc /mk
parent27e235da251fa6a8b95644d70247a6e831a4b22d (diff)
downloadpkgsrc-fd52fae77153ee5c3f10824b8180d8e383768779.tar.gz
Improve message when /usr/include/fuse.h is not found on NetBSD.
Diffstat (limited to 'mk')
-rw-r--r--mk/fuse.buildlink3.mk7
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