From: ludo@gnu.org (Ludovic Courtès)
To: Roel Janssen <roel@gnu.org>
Cc: 27256@debbugs.gnu.org
Subject: [bug#27256] [PATCH] gnu: postgresql: Enable contributed extensions.
Date: Thu, 20 Jul 2017 11:26:59 +0200 [thread overview]
Message-ID: <87tw27wja4.fsf@gnu.org> (raw)
In-Reply-To: <87bmq2m4yx.fsf@gnu.org> (Roel Janssen's message of "Tue, 06 Jun 2017 00:42:30 +0200")
Roel Janssen <roel@gnu.org> skribis:
> Danny Milosavljevic writes:
>
>> * gnu/packages/databases.scm (postgresql)[arguments]: Add "build-contrib",
>> "install-contrib" phases. Add configure-flags.
>> [inputs]: Add libuuid.
>> ---
>> gnu/packages/databases.scm | 12 ++++++++++--
>> 1 file changed, 10 insertions(+), 2 deletions(-)
>>
>> diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
>> index c46e917b8..963d209a4 100644
>> --- a/gnu/packages/databases.scm
>> +++ b/gnu/packages/databases.scm
>> @@ -459,7 +459,8 @@ as a drop-in replacement of MySQL.")
>> "1imrjp4vfslxj5rrvphcrrk21zv8kqw3gacmwradixh1d5rv6i8n"))))
>> (build-system gnu-build-system)
>> (arguments
>> - `(#:phases
>> + `(#:configure-flags '("--with-uuid=e2fs")
>> + #:phases
>> (modify-phases %standard-phases
>> (add-before 'configure 'patch-/bin/sh
>> (lambda _
>> @@ -467,9 +468,16 @@ as a drop-in replacement of MySQL.")
>> (substitute* '("src/bin/pg_ctl/pg_ctl.c"
>> "src/bin/psql/command.c")
>> (("/bin/sh") (which "sh")))
>> - #t)))))
>> + #t))
>> + (add-after 'build 'build-contrib
>> + (lambda _
>> + (zero? (system* "make" "-C" "contrib"))))
>> + (add-after 'install 'install-contrib
>> + (lambda _
>> + (zero? (system* "make" "-C" "contrib" "install")))))))
>> (inputs
>> `(("readline" ,readline)
>> + ("libuuid" ,util-linux)
>> ("zlib" ,zlib)))
>> (home-page "https://www.postgresql.org/")
>> (synopsis "Powerful object-relational database system")
>
> LGTM!
Danny, don’t forget to commit. :-)
Ludo’.
next prev parent reply other threads:[~2017-07-20 9:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-05 16:18 bug#27256: [PATCH] gnu: postgresql: Enable contributed extensions Danny Milosavljevic
2017-06-05 22:42 ` Roel Janssen
2017-07-20 9:26 ` Ludovic Courtès [this message]
2017-07-20 11:11 ` Danny Milosavljevic
2017-07-20 13:51 ` [bug#27256] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tw27wja4.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=27256@debbugs.gnu.org \
--cc=roel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.