openbsd-ports/sysutils/unionfs-fuse/patches/patch-src_Makefile

23 lines
748 B
Plaintext

Index: src/Makefile
--- src/Makefile.orig
+++ src/Makefile
@@ -2,15 +2,15 @@ CFLAGS += -Wall -fPIC
CPPFLAGS += $(shell pkg-config --cflags fuse)
CPPFLAGS += -DFUSE_USE_VERSION=29
-CPPFLAGS += -DLIBC_XATTR # glibc nowadays includes xattr
+# CPPFLAGS += -DLIBC_XATTR # glibc nowadays includes xattr
# CPPFLAGS += -DLIBATTR_XATTR # define this to libattr xattr include
-# CPPFLAGS += -DDISABLE_XATTR # disable xattr support
+CPPFLAGS += -DDISABLE_XATTR # disable xattr support
# CPPFLAGS += -DDISABLE_AT # disable *at function support
LDFLAGS +=
-LIB = $(shell pkg-config --libs fuse) -lpthread
+LIB = -lfuse -lpthread
HASHTABLE_OBJ = hashtable.o hashtable_itr.o
LIBUNIONFS_OBJ = fuse_ops.o opts.o debug.o findbranch.o readdir.o \