[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/18: gnu: mariadb: Move unbundle substitutions to source snippet.
From: |
Marius Bakke |
Subject: |
18/18: gnu: mariadb: Move unbundle substitutions to source snippet. |
Date: |
Sun, 9 Sep 2018 12:16:06 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 4333d48a825c2327c22464de631cf81d05dd2719
Author: Marius Bakke <address@hidden>
Date: Sun Sep 9 13:22:43 2018 +0200
gnu: mariadb: Move unbundle substitutions to source snippet.
* gnu/packages/databases.scm (mariadb)[source](snippet): Add two
substitutions
from ...
[arguments]: The 'unbundle' phase here. Rename to 'fix-pcre-detection.
---
gnu/packages/databases.scm | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e01ab88..ff33088 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -636,6 +636,13 @@ Language.")
'(begin
;; Delete bundled snappy and xz.
(delete-file-recursively
"storage/tokudb/PerconaFT/third_party")
+ (substitute* "storage/tokudb/PerconaFT/CMakeLists.txt"
+ ;; This file checks that the bundled sources are present
and
+ ;; declares build procedures for them.
+ (("^include\\(TokuThirdParty\\)") ""))
+ (substitute* "storage/tokudb/PerconaFT/ft/CMakeLists.txt"
+ ;; Don't attempt to use the procedures we just removed.
+ ((" build_lzma build_snappy") ""))
;; Preserve CMakeLists.txt for these.
(for-each (lambda (file)
@@ -679,7 +686,7 @@ Language.")
"-DINSTALL_SHAREDIR=share")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'unbundle
+ (add-after 'unpack 'fix-pcre-detection
(lambda _
;; The bundled PCRE in MariaDB has a patch that was upstreamed
;; in version 8.34. Unfortunately the upstream patch behaves
@@ -688,16 +695,6 @@ Language.")
;; XXX: Consider patching PCRE instead.
(substitute* "cmake/pcre.cmake"
((" OR NOT PCRE_STACK_SIZE_OK") ""))
-
- (substitute* "storage/tokudb/PerconaFT/ft/CMakeLists.txt"
- ;; Remove dependency on these CMake targets.
- ((" build_lzma build_snappy") ""))
-
- (substitute* "storage/tokudb/PerconaFT/CMakeLists.txt"
- ;; This file checks that the bundled sources are present and
- ;; declares build procedures for them. We don't need that.
- (("^include\\(TokuThirdParty\\)") ""))
-
#t))
(add-after 'unpack 'adjust-tests
(lambda _
- 10/18: gnu: Python: Delete broken test., (continued)
- 10/18: gnu: Python: Delete broken test., Marius Bakke, 2018/09/09
- 09/18: gnu: OpenBLAS: Update to 0.3.3., Marius Bakke, 2018/09/09
- 16/18: gnu: jbig2dec: Don't build libjbig2dec.a., Marius Bakke, 2018/09/09
- 14/18: gnu: cmake: Update to 3.12.2., Marius Bakke, 2018/09/09
- 15/18: gnu: util-linux: Remove static library reference from '.la' files., Marius Bakke, 2018/09/09
- 12/18: gnu: gtk+: Update to 3.24.0., Marius Bakke, 2018/09/09
- 08/18: gnu: meson: Update to 0.47.2., Marius Bakke, 2018/09/09
- 13/18: gnu: gdk-pixbuf: Update to 2.38.0., Marius Bakke, 2018/09/09
- 17/18: gnu: mariadb: Update to 10.1.36., Marius Bakke, 2018/09/09
- 01/18: gnu: oath-toolkit: Fix FTBFS with Glibc >= 2.28., Marius Bakke, 2018/09/09
- 18/18: gnu: mariadb: Move unbundle substitutions to source snippet.,
Marius Bakke <=