summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2021-12-02 10:02:01 +0000
committerpho <pho@pkgsrc.org>2021-12-02 10:02:01 +0000
commit477672eb5d8c7c6a5d10411a9ffb3840c1b64916 (patch)
treeb609232f07c48adc4e224a053de6b3fbafd1d6fe /comms
parent732abfd87aa12ad700ff8d1d0618694588ce8c5b (diff)
downloadpkgsrc-477672eb5d8c7c6a5d10411a9ffb3840c1b64916.tar.gz
Fix a build failure occuring when filesystems/fuse is installed
Diffstat (limited to 'comms')
-rw-r--r--comms/obexftp/distinfo3
-rw-r--r--comms/obexftp/patches/patch-fuse_CMakeLists.txt16
2 files changed, 18 insertions, 1 deletions
diff --git a/comms/obexftp/distinfo b/comms/obexftp/distinfo
index 1d96e237344..1c4324890d0 100644
--- a/comms/obexftp/distinfo
+++ b/comms/obexftp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 10:06:02 nia Exp $
+$NetBSD: distinfo,v 1.13 2021/12/02 10:02:01 pho Exp $
BLAKE2s (obexftp-0.24-Source.tar.gz) = 02a9eaa60cd264acacc80454a2025f3667fdeea330d09bbe0fc20f7e7dd510ce
SHA512 (obexftp-0.24-Source.tar.gz) = 785449665f5e9269d7bfd15f379bd8fbad321780292e56341e2089d6894255b7301fc23bb27a80e4e6f6317a130b658dedd307b7ece0fd31ef8f1a109c6f21b9
Size (obexftp-0.24-Source.tar.gz) = 88154 bytes
+SHA1 (patch-fuse_CMakeLists.txt) = 2b87bbb9f0c8eadcca375e3421df7ce8331d29c7
diff --git a/comms/obexftp/patches/patch-fuse_CMakeLists.txt b/comms/obexftp/patches/patch-fuse_CMakeLists.txt
new file mode 100644
index 00000000000..51dae3688a1
--- /dev/null
+++ b/comms/obexftp/patches/patch-fuse_CMakeLists.txt
@@ -0,0 +1,16 @@
+$NetBSD: patch-fuse_CMakeLists.txt,v 1.1 2021/12/02 10:02:01 pho Exp $
+
+Pretend filesystems/fuse is not installed even if it
+is. Modules/FindPkgConfig.cmake from devel/cmake automatically appends
+default paths to PKG_CONFIG_PATH and manages to find fuse.pc.
+TODO: We should probably fix that.
+
+--- fuse/CMakeLists.txt.orig 2021-12-02 09:55:29.248772087 +0000
++++ fuse/CMakeLists.txt
+@@ -1,5 +1,5 @@
+
+-find_package ( Fuse )
++set(Fuse_FOUND FALSE)
+
+ if ( Fuse_FOUND )
+ include_directories ( ${Fuse_INCLUDE_DIRS} )