summaryrefslogtreecommitdiff
path: root/filesystems/fuse-ntfs-3g/Makefile
blob: fd83623dfd608c5a758e4fd02345a01e82bba323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $NetBSD: Makefile,v 1.22 2021/09/25 05:50:15 nia Exp $

.include "../../filesystems/libntfs/Makefile.common"

PKGNAME=	fuse-${DISTNAME:S/_ntfsprogs//}
CATEGORIES=	filesystems

COMMENT=	NTFS driver with read and write support

CONFIGURE_ARGS+=	--disable-ldconfig
CONFIGURE_ARGS+=	--disable-ntfsprogs
CONFIGURE_ARGS+=	--enable-mount-helper

BUILD_DIRS=	src

USE_TOOLS+=	pkg-config

.include "../../mk/bsd.prefs.mk"

.include "../../filesystems/libntfs/buildlink3.mk"
.if ${OPSYS} == "NetBSD"
.include "../../filesystems/perfuse/buildlink3.mk"
# fuse-ntfs-3g does not build with librefuse from netbsd-8.
# \todo Add a mechanism in mk/fuse.buildlink3.mk to declare this, rather
# than open-coding the changing of which bl3 line is used.
.include "../../filesystems/fuse/buildlink3.mk"
.else
# Find this platform's preferred FUSE implementation (normal approach). 
.include "../../mk/fuse.buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"