| @@ -1,26 +1,34 @@ | | | @@ -1,26 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.11 2020/08/11 13:38:14 nia Exp $ | | 1 | # $NetBSD: Makefile,v 1.12 2022/01/22 18:34:51 pho Exp $ |
2 | | | 2 | |
3 | DISTNAME= fuse-ext2-0.0.10 | | 3 | DISTNAME= fuse-ext2-0.0.10 |
4 | CATEGORIES= filesystems | | 4 | CATEGORIES= filesystems |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=alperakcan/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=alperakcan/} |
6 | GITHUB_PROJECT= fuse-ext2 | | 6 | GITHUB_PROJECT= fuse-ext2 |
7 | GITHUB_TAG= v${PKGVERSION_NOREV} | | 7 | GITHUB_TAG= v${PKGVERSION_NOREV} |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://github.com/alperakcan/fuse-ext2 | | 10 | HOMEPAGE= https://github.com/alperakcan/fuse-ext2 |
11 | COMMENT= FUSE module to mount ext2, ext3, and ext4 filesystems | | 11 | COMMENT= FUSE module to mount ext2, ext3, and ext4 filesystems |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | USE_LIBTOOL= yes | | 15 | USE_LIBTOOL= yes |
16 | USE_TOOLS+= autoheader automake autoreconf gmake pkg-config | | 16 | USE_TOOLS+= autoheader automake autoreconf gmake pkg-config |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | INSTALLATION_DIRS= lib/umview/modules | | 18 | INSTALLATION_DIRS= lib/umview/modules |
19 | CHECK_PORTABILITY_SKIP= tools/macosx/fuse-ext2.fs/fuse-ext2.util | | 19 | CHECK_PORTABILITY_SKIP= tools/macosx/fuse-ext2.fs/fuse-ext2.util |
20 | | | 20 | |
| | | 21 | # fuse-ext2 does a weird hack defining FUSE_USE_VERSION to be |
| | | 22 | # FUSE_VERSION while FUSE 2.7 is what it actually needs. The hack |
| | | 23 | # isn't compatible with NetBSD librefuse. Please, just don't do that. |
| | | 24 | SUBST_CLASSES+= fuse-ver |
| | | 25 | SUBST_STAGE.fuse-ver= pre-configure |
| | | 26 | SUBST_FILES.fuse-ver= configure.ac |
| | | 27 | SUBST_SED.fuse-ver= -e 's/FUSE_VERSION/27/g' |
| | | 28 | |
21 | pre-configure: | | 29 | pre-configure: |
22 | cd ${WRKSRC} && autoreconf -fi | | 30 | cd ${WRKSRC} && autoreconf -fi |
23 | | | 31 | |
24 | .include "../../mk/fuse.buildlink3.mk" | | 32 | .include "../../mk/fuse.buildlink3.mk" |
25 | .include "../../sysutils/e2fsprogs/buildlink3.mk" | | 33 | .include "../../sysutils/e2fsprogs/buildlink3.mk" |
26 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |