From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] postgresql: fix shell version of pg_config.sh
Date: Thu, 09 Apr 2020 17:03:44 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20794@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
There is a new pull request by sgn against master on the void-packages repository
https://github.com/sgn/void-packages postgresql-fix-pg-config
https://github.com/void-linux/void-packages/pull/20794
postgresql: fix shell version of pg_config.sh
@xtraeme @pullmoll Please help to pull this.
Sorry, but I've another thing to do.
The old version should work because echo doesn't accept -W -f -L -l by now
A patch file from https://github.com/void-linux/void-packages/pull/20794.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-postgresql-fix-pg-config-20794.patch --]
[-- Type: text/x-diff, Size: 3101 bytes --]
From cfd5b6d21bdf930b457c60c2c5acdc58d68d8395 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Thu, 9 Apr 2020 22:01:41 +0700
Subject: [PATCH] postgresql: fix shell version of pg_config.sh
---
srcpkgs/postgresql/files/pg_config.sh.in | 46 ++++++++++++------------
srcpkgs/postgresql/template | 2 +-
2 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/srcpkgs/postgresql/files/pg_config.sh.in b/srcpkgs/postgresql/files/pg_config.sh.in
index 5e6a0d37773..287954e2786 100644
--- a/srcpkgs/postgresql/files/pg_config.sh.in
+++ b/srcpkgs/postgresql/files/pg_config.sh.in
@@ -112,28 +112,28 @@ done
for arg
do
case "$arg" in
- --bindir) echo "$BINDIR" ;;
- --docdir) echo "$DOCDIR" ;;
- --htmldir) echo "$HTMLDIR" ;;
- --includedir) echo "$INCLUDEDIR" ;;
- --pkgincludedir) echo "$PKGINCLUDEDIR" ;;
- --includedir-server) echo "$INCLUDEDIR_SERVER" ;;
- --libdir) echo "$LIBDIR" ;;
- --pkglibdir) echo "$PKGLIBDIR" ;;
- --localedir) echo "$LOCALEDIR" ;;
- --mandir) echo "$MANDIR" ;;
- --sharedir) echo "$SHAREDIR" ;;
- --sysconfdir) echo "$SYSCONFDIR" ;;
- --pgxs) echo "$PGXS" ;;
- --configure) echo "$CONFIGURE" ;;
- --cc) echo "$CC" ;;
- --cppflags) echo "$CPPFLAGS" ;;
- --cflags) echo "$CFLAGS" ;;
- --cflags_sl) echo "$CFLAGS_SL" ;;
- --ldflags) echo "$LDFLAGS" ;;
- --ldflags_ex) echo "$LDFLAGS_EX" ;;
- --ldflags_sl) echo "$LDFLAGS_SL" ;;
- --libs) echo "$LIBS" ;;
- --version) echo "$VERSION" ;;
+ --bindir) printf '%s\n' "$BINDIR" ;;
+ --docdir) printf '%s\n' "$DOCDIR" ;;
+ --htmldir) printf '%s\n' "$HTMLDIR" ;;
+ --includedir) printf '%s\n' "$INCLUDEDIR" ;;
+ --pkgincludedir) printf '%s\n' "$PKGINCLUDEDIR" ;;
+ --includedir-server) printf '%s\n' "$INCLUDEDIR_SERVER" ;;
+ --libdir) printf '%s\n' "$LIBDIR" ;;
+ --pkglibdir) printf '%s\n' "$PKGLIBDIR" ;;
+ --localedir) printf '%s\n' "$LOCALEDIR" ;;
+ --mandir) printf '%s\n' "$MANDIR" ;;
+ --sharedir) printf '%s\n' "$SHAREDIR" ;;
+ --sysconfdir) printf '%s\n' "$SYSCONFDIR" ;;
+ --pgxs) printf '%s\n' "$PGXS" ;;
+ --configure) printf '%s\n' "$CONFIGURE" ;;
+ --cc) printf '%s\n' "$CC" ;;
+ --cppflags) printf '%s\n' "$CPPFLAGS" ;;
+ --cflags) printf '%s\n' "$CFLAGS" ;;
+ --cflags_sl) printf '%s\n' "$CFLAGS_SL" ;;
+ --ldflags) printf '%s\n' "$LDFLAGS" ;;
+ --ldflags_ex) printf '%s\n' "$LDFLAGS_EX" ;;
+ --ldflags_sl) printf '%s\n' "$LDFLAGS_SL" ;;
+ --libs) printf '%s\n' "$LIBS" ;;
+ --version) printf '%s\n' "$VERSION" ;;
esac
done
diff --git a/srcpkgs/postgresql/template b/srcpkgs/postgresql/template
index 084ae5bb70f..29031650d56 100644
--- a/srcpkgs/postgresql/template
+++ b/srcpkgs/postgresql/template
@@ -1,7 +1,7 @@
# Template file for 'postgresql'
pkgname=postgresql
version=9.6.17
-revision=2
+revision=3
build_style=gnu-configure
make_build_target=world
configure_args="--with-openssl --with-python
next reply other threads:[~2020-04-09 15:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 15:03 sgn [this message]
2020-04-09 15:06 ` xtraeme
2020-04-09 15:25 ` Piraty
2020-04-09 15:28 ` sgn
2020-04-09 15:29 ` [PR PATCH] [Updated] " sgn
2020-04-09 15:37 ` xtraeme
2020-04-09 15:41 ` [PR PATCH] [Updated] " sgn
2020-04-09 15:53 ` [PR PATCH] [Merged]: " pullmoll
2020-04-09 15:53 ` pullmoll
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20794@inbox.vuxu.org \
--to=sgn@users.noreply.github.com \
--cc=ml@inbox.vuxu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).