summaryrefslogtreecommitdiffstats
path: root/debian/patches/mroonga-path-reproducible-build.patch
blob: 963ac466f797d028697e0339a8375a73455b081c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Forwarded: https://github.com/mroonga/mroonga/issues/298
Subject: Mroonga plugin build in MariaDB is not reproducible (Closes: #976984)
 This did not make Mroonga reproducible, so we might as well remove this later on.

--- a/storage/mroonga/vendor/groonga/configure.ac
+++ b/storage/mroonga/vendor/groonga/configure.ac
@@ -1505,7 +1505,7 @@ GRN_DEFS="$GRN_DEFS -DGRN_DEFAULT_RELATI
 AC_SUBST(GRN_DEFS)
 CFLAGS="$CFLAGS $OPT_CFLAGS "
 LIBS="$LIBS $WINDOWS_LIBS"
-AC_DEFINE_UNQUOTED(CONFIGURE_OPTIONS, "$ac_configure_args", "specified configure options")
+AC_DEFINE_UNQUOTED(CONFIGURE_OPTIONS, "$(echo $ac_configure_args | sed -e "s@$(pwd)@<builddir>@g")", "specified configure options")
 
 # For groonga.org
 AC_ARG_WITH(groonga-org-path,