1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/sysutils/fusefs-libs3/Makefile
Stefan Eßer 1497b78ecb sysutils/fusefs-libs3: update to version 3.10.5
The test_syscalls command uses O_PATH and cannot be built on FreeBSD
versions before 14-CURRENT as of 6 May 2021 (OSVERSION 1400014).
2021-09-06 22:10:14 +02:00

38 lines
899 B
Makefile

# Created by: Stefan Esser
PORTNAME= fusefs-libs3
DISTVERSION= 3.10.5
CATEGORIES= sysutils
MASTER_SITES= https://github.com/libfuse/libfuse/releases/download/fuse-${DISTVERSION}/
DISTNAME= fuse-${DISTVERSION}
MAINTAINER= se@FreeBSD.org
COMMENT= FUSE library version 3 for filesystems implemented in userspace
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= compiler iconv meson tar:xz
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1400014
EXTRA_PATCHES= ${FILESDIR}/extra-patch-test_meson.build
.endif
.if ${OPSYS} == DragonFly
IGNORE= fusefs has not been implemented on DragonFly
.endif
.if ${CHOSEN_COMPILER_TYPE} == gcc
post-patch:
${REINPLACE_CMD} -e '/-Wno-unused-result/d' ${WRKSRC}/meson.build
.endif
.include <bsd.port.post.mk>