Files
helg 66021cd65c Update fossil and unionfs-fuse to use pkg-config for libfuse header file
location. This prepares for the pending FUSE header file move from /usr/include
to /use/include/fuse.

OK bket@ for unionfs-fuse
OK jturner@ for fossil
2025-11-23 18:13:23 +00:00

29 lines
620 B
Makefile

COMMENT = unionfs filesystem implementation
DIST_TUPLE = github rpodgorny unionfs-fuse v3.7 .
CATEGORIES = sysutils
MAINTAINER = Bjorn Ketelaars <bket@openbsd.org>
# BSD
PERMIT_PACKAGE = Yes
WANTLIB = c fuse pthread
MAKE_FLAGS = CPPFLAGS="-DFUSE_USE_VERSION=29 -DDISABLE_XATTR \
`pkg-config --cflags fuse`" \
LIB="-lfuse -lpthread"
ALL_TARGET = build
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/unionfs ${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/src/unionfsctl ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/unionfs.8 ${PREFIX}/man/man8/
do-test:
cd ${WRKSRC} && ./test_legacy.sh
.include <bsd.port.mk>