I found that filesystems/py-fuse-bindings and then filesystems/ori failed to link not finding -losxfuse, despite my seeing -L/usr/local/lib -losxfuse on the command line. I'm not really proposing committing this imminently, but I wanted to post it and ask for comments. There are two changes in this diff: 1) Explicitly support only osxfuse. 2) Adding the BUILDLINK_PASSTHRU_DIRS lines for /usr/local/lib allows both packages to build. But it seems excessive Index: mk/fuse.buildlink3.mk =================================================================== RCS file: /cvsroot/pkgsrc/mk/fuse.buildlink3.mk,v retrieving revision 1.16 diff -u -p -r1.16 fuse.buildlink3.mk --- mk/fuse.buildlink3.mk 1 Mar 2013 00:08:31 -0000 1.16 +++ mk/fuse.buildlink3.mk 23 Mar 2014 00:33:42 -0000 @@ -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"
Attachment:
pgpqp9CJH2BK7.pgp
Description: PGP signature