| @@ -1,38 +1,38 @@ | | | @@ -1,38 +1,38 @@ |
1 | # $NetBSD: Makefile,v 1.112 2023/03/12 20:00:27 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.113 2023/03/13 22:45:36 gutteridge Exp $ |
2 | | | 2 | |
3 | DISTNAME= glusterfs-10.3 | | 3 | DISTNAME= glusterfs-10.3 |
4 | CATEGORIES= filesystems | | 4 | CATEGORIES= filesystems |
5 | MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/ | | 5 | MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/ |
6 | | | 6 | |
7 | MAINTAINER= als@thangorodrim.ch | | 7 | MAINTAINER= als@thangorodrim.ch |
8 | HOMEPAGE= https://www.gluster.org/ | | 8 | HOMEPAGE= https://www.gluster.org/ |
9 | COMMENT= Cluster filesystem | | 9 | COMMENT= Cluster filesystem |
10 | LICENSE= gnu-gpl-v3 | | 10 | LICENSE= gnu-gpl-v3 |
11 | | | 11 | |
12 | GNU_CONFIGURE= yes | | 12 | GNU_CONFIGURE= yes |
13 | USE_LIBTOOL= yes | | 13 | USE_LIBTOOL= yes |
14 | USE_TOOLS+= flex bison pkg-config bash:run autoconf autoreconf automake | | 14 | USE_TOOLS+= flex bison pkg-config bash:run autoconf autoreconf automake |
15 | | | 15 | |
16 | CONFIGURE_ARGS+= --disable-fusermount | | 16 | CONFIGURE_ARGS+= --disable-fusermount |
17 | CONFIGURE_ARGS+= --disable-fuse-notifications | | 17 | CONFIGURE_ARGS+= --disable-fuse-notifications |
18 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} | | 18 | CONFIGURE_ARGS+= --localstatedir=${VARBASE} |
19 | CONFIGURE_ARGS+= --without-tcmalloc | | 19 | CONFIGURE_ARGS+= --without-tcmalloc |
20 | # libtirpc not in pkgsrc (yet) | | 20 | # libtirpc not in pkgsrc (yet) |
21 | CONFIGURE_ARGS+= --without-libtirpc | | 21 | CONFIGURE_ARGS+= --without-libtirpc |
22 | | | 22 | |
23 | # Upstream glusterfs effectively dropped support for 32bit platforms | | 23 | # Upstream glusterfs effectively dropped support for 32bit platforms |
24 | # somewhere between 8.2 (works on e.g. NetBSD/i386) and 10.3 as various | | 24 | # somewhere between 8.2 (works on e.g. NetBSD/i386) and 10.3 as various |
25 | # internal bits went from 32 to 64 bits and atomic updates where done | | 25 | # internal bits went from 32 to 64 bits and atomic updates were done |
26 | # on those - can't do that for 64bit values on a 32bit arch. | | 26 | # on those - can't do that for 64bit values on a 32bit arch. |
27 | # https://github.com/gluster/glusterfs/issues/702 proposed an explicit | | 27 | # https://github.com/gluster/glusterfs/issues/702 proposed an explicit |
28 | # drop of 32bit and eventually it just happened. See | | 28 | # drop of 32bit and eventually it just happened. See |
29 | # https://github.com/gluster/glusterfs/issues/3911#issuecomment-1451711686 | | 29 | # https://github.com/gluster/glusterfs/issues/3911#issuecomment-1451711686 |
30 | # for a more detailed explanation. | | 30 | # for a more detailed explanation. |
31 | BROKEN_ON_PLATFORM= ${LP32PLATFORMS} | | 31 | BROKEN_ON_PLATFORM= ${LP32PLATFORMS} |
32 | | | 32 | |
33 | # Make sure we do not attept to link with -lfl | | 33 | # Make sure we do not attept to link with -lfl |
34 | # Only libfl.a is available, and libtool wants libfl.so | | 34 | # Only libfl.a is available, and libtool wants libfl.so |
35 | MAKE_FLAGS+= LEXLIB="" | | 35 | MAKE_FLAGS+= LEXLIB="" |
36 | | | 36 | |
37 | REPLACE_PYTHON+= events/src/glustereventsd.py | | 37 | REPLACE_PYTHON+= events/src/glustereventsd.py |
38 | REPLACE_PYTHON+= events/src/peer_eventsapi.py | | 38 | REPLACE_PYTHON+= events/src/peer_eventsapi.py |