summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-03-06 00:03:40 +0000
committerxtraeme <xtraeme>2007-03-06 00:03:40 +0000
commit9678a1cfadf97dea3e5f9673596f491b7254c546 (patch)
treed2c5bb04838e08e09c2ec30c5eca30354ab2d1fc
parentcf031165c921d8a64665f1e6bf0da4a61bced24a (diff)
downloadpkgsrc-9678a1cfadf97dea3e5f9673596f491b7254c546.tar.gz
Improve message when /usr/include/fuse.h is not found on NetBSD.
-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