summaryrefslogtreecommitdiff
path: root/mk/fuse.buildlink3.mk
diff options
context:
space:
mode:
authorriastradh <riastradh>2012-08-04 04:00:00 +0000
committerriastradh <riastradh>2012-08-04 04:00:00 +0000
commit92ef78b11690694f4c0df72add2a50ed23119c53 (patch)
tree8add5c48074c8742fccd2ccbd084628956ebdf83 /mk/fuse.buildlink3.mk
parente4b68555674ba97116659f74556b85293cedc89c (diff)
downloadpkgsrc-92ef78b11690694f4c0df72add2a50ed23119c53.tar.gz
Make pkgsrc detect OSXFUSE, a successor to the now defunct MacFUSE.
Diffstat (limited to 'mk/fuse.buildlink3.mk')
-rw-r--r--mk/fuse.buildlink3.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/fuse.buildlink3.mk b/mk/fuse.buildlink3.mk
index 7024873aa35..004d93e7ec3 100644
--- a/mk/fuse.buildlink3.mk
+++ b/mk/fuse.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fuse.buildlink3.mk,v 1.13 2012/02/28 15:05:07 hans Exp $
+# $NetBSD: fuse.buildlink3.mk,v 1.14 2012/08/04 04:00:00 riastradh Exp $
#
# Makefile fragment for packages using the FUSE framework.
#
@@ -12,15 +12,16 @@ MK_FUSE_BUILDLINK3_MK= # defined
. if ${OPSYS} == "Darwin"
-. if !exists(/usr/local/include/fuse.h)
-PKG_FAIL_REASON+= "Couldn't find fuse headers; please install MacFUSE."
+. if !exists(/usr/local/lib/pkgconfig/fuse.pc)
+PKG_FAIL_REASON+= \
+ "Couldn't find fuse; please install MacFUSE or OSXFUSE."
. endif
do-configure-pre-hook: override-fuse-pkgconfig
override-fuse-pkgconfig: override-message-fuse-pkgconfig
override-message-fuse-pkgconfig:
- @${STEP_MSG} "Setting up usage of native MacFUSE."
+ @${STEP_MSG} "Setting up usage of native fuse."
override-fuse-pkgconfig:
${RUN} \
@@ -29,6 +30,8 @@ override-fuse-pkgconfig:
${BUILDLINK_DIR}/lib/pkgconfig/fuse.pc
BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/fuse
+BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/macfuse
+BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/osxfuse
. elif ${OPSYS} == "Linux"