Sat Sep 9 10:23:00 2023 UTC ()
filesystems/fuse: needs gettext.


(vins)
diff -r1.15 -r1.16 pkgsrc/filesystems/fuse/Makefile

cvs diff -r1.15 -r1.16 pkgsrc/filesystems/fuse/Makefile (expand / switch to unified diff)

--- pkgsrc/filesystems/fuse/Makefile 2023/09/08 06:01:04 1.15
+++ pkgsrc/filesystems/fuse/Makefile 2023/09/09 10:23:00 1.16
@@ -1,41 +1,43 @@ @@ -1,41 +1,43 @@
1# $NetBSD: Makefile,v 1.15 2023/09/08 06:01:04 vins Exp $ 1# $NetBSD: Makefile,v 1.16 2023/09/09 10:23:00 vins Exp $
2# 2#
3 3
4DISTNAME= fuse-2.9.9 4DISTNAME= fuse-2.9.9
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= filesystems 6CATEGORIES= filesystems
7MASTER_SITES= ${MASTER_SITE_GITHUB:=libfuse/} 7MASTER_SITES= ${MASTER_SITE_GITHUB:=libfuse/}
8GITHUB_PROJECT= libfuse 8GITHUB_PROJECT= libfuse
9GITHUB_TAG= refs/tags/${DISTNAME} 9GITHUB_TAG= refs/tags/${DISTNAME}
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= https://github.com/libfuse/libfuse 12HOMEPAGE= https://github.com/libfuse/libfuse
13COMMENT= Filesystem in Userspace 13COMMENT= Filesystem in Userspace
14LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1 14LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
15 15
16GNU_CONFIGURE= yes 16GNU_CONFIGURE= yes
17 17
18# FUSE the implementation only builds on Linux and FreeBSD. 18# FUSE the implementation only builds on Linux and FreeBSD.
19ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-* 19ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-*
20# On NetBSD 4.99 after 2007-02, /usr/lib/librefuse provides the FUSE 20# On NetBSD 4.99 after 2007-02, /usr/lib/librefuse provides the FUSE
21# interface expected by filesystem implementations and therefore this 21# interface expected by filesystem implementations and therefore this
22# implementation is not needed. This FUSE implementation can also be 22# implementation is not needed. This FUSE implementation can also be
23# used with the perfuse package on NetBSD. 23# used with the perfuse package on NetBSD.
24 24
25USE_TOOLS+= gmake pkg-config 25USE_TOOLS+= gmake pkg-config gettext
26USE_TOOLS+= autoconf automake autoreconf 26USE_TOOLS+= autoconf automake autoreconf
27USE_LIBTOOL= yes 27USE_LIBTOOL= yes
28 28
 29TOOL_DEPENDS+= gettext-m4-[0-9]*:../../devel/gettext-m4
 30
29CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv} 31CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
30CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig 32CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/lib/pkgconfig
31 33
32.include "../../mk/bsd.prefs.mk" 34.include "../../mk/bsd.prefs.mk"
33 35
34.if ${OPSYS} == "Linux" 36.if ${OPSYS} == "Linux"
35CONFIGURE_ENV+= MOUNT_FUSE_PATH=${PREFIX}/sbin 37CONFIGURE_ENV+= MOUNT_FUSE_PATH=${PREFIX}/sbin
36CONFIGURE_ENV+= UDEV_RULES_PATH=${PREFIX}/${EGDIR} 38CONFIGURE_ENV+= UDEV_RULES_PATH=${PREFIX}/${EGDIR}
37CONFIGURE_ENV+= INIT_D_PATH=${PREFIX}/${EGDIR} 39CONFIGURE_ENV+= INIT_D_PATH=${PREFIX}/${EGDIR}
38.endif 40.endif
39 41
40PKG_DOCS= doc/how-fuse-works doc/kernel.txt 42PKG_DOCS= doc/how-fuse-works doc/kernel.txt
41DOCDIR= share/doc/${PKGBASE} 43DOCDIR= share/doc/${PKGBASE}
@@ -61,14 +63,15 @@ post-install: @@ -61,14 +63,15 @@ post-install:
61 ${INSTALL_DATA} ${PKG_DOCS:S|^|${WRKSRC}/|} \ 63 ${INSTALL_DATA} ${PKG_DOCS:S|^|${WRKSRC}/|} \
62 ${DESTDIR}${PREFIX}/${DOCDIR} 64 ${DESTDIR}${PREFIX}/${DOCDIR}
63 65
64.if ${OPSYS} == "Linux" 66.if ${OPSYS} == "Linux"
65 ${RUN}${CHMOD} -w ${DESTDIR}${PREFIX}/bin/fusermount 67 ${RUN}${CHMOD} -w ${DESTDIR}${PREFIX}/bin/fusermount
66.endif 68.endif
67 69
68.include "../../mk/bsd.prefs.mk" 70.include "../../mk/bsd.prefs.mk"
69.if ${OPSYS} == "NetBSD" 71.if ${OPSYS} == "NetBSD"
70.include "../../filesystems/perfuse/buildlink3.mk" 72.include "../../filesystems/perfuse/buildlink3.mk"
71.endif 73.endif
72 74
73.include "../../converters/libiconv/buildlink3.mk" 75.include "../../converters/libiconv/buildlink3.mk"
 76.include "../../devel/gettext-lib/buildlink3.mk"
74.include "../../mk/bsd.pkg.mk" 77.include "../../mk/bsd.pkg.mk"