head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.16 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.14 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.12 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.10 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.8 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.6 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.4 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.2 pkgsrc-2024Q2-base:1.3 pkgsrc-2017Q3:1.1.0.6 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.2 pkgsrc-2017Q2-base:1.1; locks; strict; comment @# @; 1.3 date 2024.04.18.05.36.13; author pho; state Exp; branches; next 1.2; commitid HBRLOcIPBov9qA6F; 1.2 date 2017.11.11.03.18.16; author gdt; state dead; branches; next 1.1; commitid LQQ0mUlbQIwQbzeA; 1.1 date 2017.06.19.18.41.39; author maya; state Exp; branches; next ; commitid ACLtPQB68hr7X0Wz; desc @@ 1.3 log @filesystems/fuse-encfs: Fix build on Darwin @ text @$NetBSD$ Use pkg-config for finding FUSE. Don't look for hard-coded paths. --- cmake/FindFUSE.cmake.orig 2018-04-27 08:52:22.000000000 +0000 +++ cmake/FindFUSE.cmake @@@@ -9,21 +9,10 @@@@ if (FUSE_INCLUDE_DIR) SET (FUSE_FIND_QUIETLY TRUE) endif (FUSE_INCLUDE_DIR) -if (APPLE) - set (FUSE_NAMES libosxfuse.dylib fuse) - set (FUSE_SUFFIXES osxfuse fuse) -else (APPLE) - set (FUSE_NAMES fuse refuse) - set (FUSE_SUFFIXES fuse refuse) -endif (APPLE) - -# find includes -find_path (FUSE_INCLUDE_DIR fuse.h - PATHS /opt /opt/local /usr/pkg - PATH_SUFFIXES ${FUSE_SUFFIXES}) - -# find lib -find_library (FUSE_LIBRARIES NAMES ${FUSE_NAMES}) +find_package(PkgConfig REQUIRED) +pkg_search_module(FUSE REQUIRED fuse) +set(FUSE_INCLUDE_DIR "${FUSE_INCLUDE_DIRS}") +set(FUSE_LIBRARIES "${FUSE_LINK_LIBRARIES}") include ("FindPackageHandleStandardArgs") find_package_handle_standard_args ("FUSE" DEFAULT_MSG @ 1.2 log @Update to 1.9.2: - fix a use-after-free bug that was introduced in v1.9-rc1 (#214) - cast booleans to int before writing the XML config (#343) - support reading the config file from pipes (#253) - add "-t" option to set syslog tag - allow read/write in standard reverse mode (#301) - reject empty passwords - support building with openssl 1.1 @ text @d1 1 a1 1 $NetBSD: patch-cmake_FindFUSE.cmake,v 1.1 2017/06/19 18:41:39 maya Exp $ d3 1 a3 1 Also try to find (netbsd) librefuse d5 1 a5 1 --- cmake/FindFUSE.cmake.orig 2016-09-18 20:16:04.000000000 +0000 d7 3 a9 9 @@@@ -13,8 +13,8 @@@@ if (APPLE) set (FUSE_NAMES libosxfuse.dylib fuse) set (FUSE_SUFFIXES osxfuse fuse) else (APPLE) - set (FUSE_NAMES fuse) - set (FUSE_SUFFIXES fuse) + set (FUSE_NAMES fuse refuse) + set (FUSE_SUFFIXES fuse refuse) endif (APPLE) d11 22 a32 1 # find includes @ 1.1 log @fuse-encfs: update to 1.9.1 A decade of changes, please refer to the following link for changes: https://github.com/vgough/encfs/blob/bf2cee54f53fc53910476fcd497782f3fd062923/ChangeLog @ text @d1 1 a1 1 $NetBSD$ @