Commit a57ed417 authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Strip path from Mroonga to make the build reproducible

parent 5eb8f505
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
Forwarded: https://github.com/mroonga/mroonga/issues/298

--- 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,
+1 −0
Original line number Diff line number Diff line
@@ -17,3 +17,4 @@ MDEV-18768-automate-auth_socket-to_unix_socket-upgrade.patch
930314-cross-build.patch
rocksdb-kfreebsd.patch
libmariadb-kfreebsd.patch
mroonga-path-reproducible-build.patch