summaryrefslogtreecommitdiff
path: root/net/glusterfs/files/patch-configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/glusterfs/files/patch-configure.ac')
-rw-r--r--net/glusterfs/files/patch-configure.ac23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/glusterfs/files/patch-configure.ac b/net/glusterfs/files/patch-configure.ac
new file mode 100644
index 000000000000..6d385aa7902e
--- /dev/null
+++ b/net/glusterfs/files/patch-configure.ac
@@ -0,0 +1,23 @@
+--- configure.ac.orig 2020-07-06 01:22:37 UTC
++++ configure.ac
+@@ -731,6 +731,9 @@ AC_ARG_ENABLE([georeplication],
+
+ BUILD_SYNCDAEMON=no
+ case $host_os in
++ freebsd*)
++#do nothing
++ ;;
+ linux*)
+ #do nothing
+ ;;
+@@ -1207,10 +1210,6 @@ case $host_os in
+ ;;
+ *freebsd*)
+ GF_HOST_OS="GF_BSD_HOST_OS"
+- GF_CFLAGS="${GF_CFLAGS} -O0"
+- GF_CFLAGS="${GF_CFLAGS} -DTHREAD_UNSAFE_BASENAME"
+- GF_CFLAGS="${GF_CFLAGS} -DTHREAD_UNSAFE_DIRNAME"
+- GF_CFLAGS="${GF_CFLAGS} -D_LIBGEN_H_"
+ GF_CFLAGS="${GF_CFLAGS} -DO_DSYNC=0"
+ GF_CFLAGS="${GF_CFLAGS} -Dxdr_quad_t=xdr_longlong_t"
+ GF_CFLAGS="${GF_CFLAGS} -Dxdr_u_quad_t=xdr_u_longlong_t"