pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

GlusterFS: only drop libtirpc if !Linux.



Module Name:	pkgsrc-wip
Committed By:	Alexander Schreiber <als%thangorodrim.de@localhost>
Pushed By:	als
Date:		Fri Mar 17 22:48:26 2023 +0100
Changeset:	158a9c78899aa018bac1f3927939c526c56d1e15

Modified Files:
	glusterfs/Makefile

Log Message:
GlusterFS: only drop libtirpc if !Linux.

Only use --without-libtirpc if platform != Linux.

Signed-off-by: Alexander Schreiber <als%thangorodrim.de@localhost>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=158a9c78899aa018bac1f3927939c526c56d1e15

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 glusterfs/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diffs:
diff --git a/glusterfs/Makefile b/glusterfs/Makefile
index f3aa8b7945..47f327ff44 100644
--- a/glusterfs/Makefile
+++ b/glusterfs/Makefile
@@ -18,8 +18,7 @@ CONFIGURE_ARGS+=	--disable-fusermount
 CONFIGURE_ARGS+=	--disable-fuse-notifications
 CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
 CONFIGURE_ARGS+=	--without-tcmalloc
-# libtirpc not in pkgsrc (yet)
-CONFIGURE_ARGS+=	--without-libtirpc
+
 
 # Upstream glusterfs effectively dropped support for 32bit platforms
 # somewhere between 8.2 (works on e.g. NetBSD/i386) and 10.3 as various
@@ -131,6 +130,11 @@ CONFIGURE_ARGS+=	--enable-debug
 
 .include "../../mk/bsd.prefs.mk"
 
+# only needed on Linux since glibc dropped RPC support
+.if ${OPSYS} != "Linux"
+CONFIGURE_ARGS+=        --without-libtirpc
+.endif
+
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../devel/argp/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"


Home | Main Index | Thread Index | Old Index