[arch-commits] Commit in postgresql/trunk (PKGBUILD)

Jan Steffens heftig at gemini.archlinux.org
Wed Apr 20 17:23:08 UTC 2022


    Date: Wednesday, April 20, 2022 @ 17:23:08
  Author: heftig
Revision: 442975

Don't shadow options, make args more similar to -old-upgrade

Modified:
  postgresql/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-20 17:23:06 UTC (rev 442974)
+++ PKGBUILD	2022-04-20 17:23:08 UTC (rev 442975)
@@ -59,7 +59,7 @@
 
 build() {
   cd postgresql-${pkgver}
-  local options=(
+  local configure_options=(
     --prefix=/usr
     --mandir=/usr/share/man
     --datadir=/usr/share/postgresql
@@ -71,6 +71,7 @@
     --with-python
     --with-tcl
     --with-pam
+    --with-readline
     --with-system-tzdata=/usr/share/zoneinfo
     --with-uuid=e2fs
     --with-icu
@@ -83,10 +84,11 @@
     --disable-rpath
   )
 
-  CFLAGS+=" -ffat-lto-objects" # Fix static libs
+  # Fix static libs
+  CFLAGS+=" -ffat-lto-objects"
 
   # only build plpython3 for now
-  ./configure "${options[@]}" \
+  ./configure "${configure_options[@]}" \
     PYTHON=/usr/bin/python
   make -C src/pl/plpython all
   make -C contrib/hstore_plpython all
@@ -100,7 +102,7 @@
   make distclean
 
   # regular build with everything
-  ./configure "${options[@]}" \
+  ./configure "${configure_options[@]}" \
     PYTHON=/usr/bin/python2
   make world
 }



More information about the arch-commits mailing list