From 75e4247ada7f5d16cea32f7a31162b26fcfd39ea Mon Sep 17 00:00:00 2001 From: gdt Date: Wed, 30 Apr 2014 14:56:15 +0000 Subject: On Darwin, support osxfuse, and drop support for macfuse. No change for !=Darwin. This fixes at least some fuse-using packages. (Proposed on tech-pkg on April 6, no objections received.) --- mk/fuse.buildlink3.mk | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/mk/fuse.buildlink3.mk b/mk/fuse.buildlink3.mk index e5e361fb5ff..846bd5c3d6f 100644 --- a/mk/fuse.buildlink3.mk +++ b/mk/fuse.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: fuse.buildlink3.mk,v 1.16 2013/03/01 00:08:31 tcort Exp $ +# $NetBSD: fuse.buildlink3.mk,v 1.16.10.1 2014/04/30 14:56:15 gdt Exp $ # # Makefile fragment for packages using the FUSE framework. # @@ -12,9 +12,12 @@ MK_FUSE_BUILDLINK3_MK= # defined . if ${OPSYS} == "Darwin" -. if !exists(/usr/local/lib/pkgconfig/fuse.pc) +# On Darwin, we only attempt to support "Fuse for OS X", known as +# "OSXFUSE". MacFuse is dead, and fuse4x is merging into OSXFUSE. + +. if !exists(/usr/local/lib/pkgconfig/osxfuse.pc) PKG_FAIL_REASON+= \ - "Couldn't find fuse; please install MacFUSE or OSXFUSE." + "Couldn't find fuse; please install OSXFUSE." . endif do-configure-pre-hook: override-fuse-pkgconfig @@ -26,12 +29,12 @@ override-message-fuse-pkgconfig: override-fuse-pkgconfig: ${RUN} \ ${MKDIR} ${BUILDLINK_DIR}/lib/pkgconfig; \ - ${LN} -s /usr/local/lib/pkgconfig/fuse.pc \ + ${LN} -s /usr/local/lib/pkgconfig/osxfuse.pc \ ${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 +# Too much! But allows -losxfuse to work. +BUILDLINK_PASSTHRU_DIRS+= /usr/local/lib . elif ${OPSYS} == "Linux" -- cgit v1.2.3