summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2012-08-04 04:00:00 +0000
committerriastradh <riastradh@pkgsrc.org>2012-08-04 04:00:00 +0000
commit00633aee9d24837763aef149539005df75cb7490 (patch)
tree8add5c48074c8742fccd2ccbd084628956ebdf83 /mk
parent61ecca2bf36a1baf4c3f377cd2c2b3a1cb25bc39 (diff)
downloadpkgsrc-00633aee9d24837763aef149539005df75cb7490.tar.gz
Make pkgsrc detect OSXFUSE, a successor to the now defunct MacFUSE.
Diffstat (limited to '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"