[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: PostgreSQL: Do not embed references to build tools.
From: |
guix-commits |
Subject: |
01/02: gnu: PostgreSQL: Do not embed references to build tools. |
Date: |
Sun, 20 Dec 2020 12:52:56 -0500 (EST) |
mbakke pushed a commit to branch staging
in repository guix.
commit e693617f559f49d1d2606dd5ad997e444b9ad1b5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sun Dec 20 16:06:49 2020 +0100
gnu: PostgreSQL: Do not embed references to build tools.
Fixes <https://bugs.gnu.org/25527>.
* gnu/packages/databases.scm (postgresql-13)[arguments]: In
#:configure-flags,
provide non-absolute references to the build tools.
---
gnu/packages/databases.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8c0da1b..733c8c4 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1187,7 +1187,12 @@ developed in C/C++ to MariaDB and MySQL databases.")
(patches (search-patches
"postgresql-disable-resolve_symlinks.patch"))))
(build-system gnu-build-system)
(arguments
- `(#:configure-flags '("--with-uuid=e2fs" "--with-openssl")
+ `(#:configure-flags '("--with-uuid=e2fs" "--with-openssl"
+ ;; PostgreSQL installs its own Makefile (should
it?).
+ ;; Prevent it from retaining needless references to
+ ;; the build tools in order to save size.
+ "MKDIR_P=mkdir -p" "INSTALL_BIN=install -c"
+ "LD=ld" "TAR=tar")
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-/bin/sh