Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] postgresql: fix shell version of pg_config.sh
@ 2020-04-09 15:03 sgn
  2020-04-09 15:06 ` xtraeme
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: sgn @ 2020-04-09 15:03 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-04-09 15:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-09 15:03 [PR PATCH] postgresql: fix shell version of pg_config.sh sgn
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

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).