Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-mod_wsgi www/py-mod_wsgi: fix bashism in config...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2cdaa097e97
branches:  trunk
changeset: 431432:d2cdaa097e97
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed May 13 04:43:01 2020 +0000

description:
www/py-mod_wsgi: fix bashism in configure script

diffstat:

 www/py-mod_wsgi/distinfo                |   3 ++-
 www/py-mod_wsgi/patches/patch-configure |  26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r 56dc7d5edb26 -r d2cdaa097e97 www/py-mod_wsgi/distinfo
--- a/www/py-mod_wsgi/distinfo  Wed May 13 04:39:04 2020 +0000
+++ b/www/py-mod_wsgi/distinfo  Wed May 13 04:43:01 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.14 2019/07/03 19:50:33 adam Exp $
+$NetBSD: distinfo,v 1.15 2020/05/13 04:43:01 rillig Exp $
 
 SHA1 (mod_wsgi-4.6.7.tar.gz) = 22583af805328832f14f49410d59a0ed9ff6227c
 RMD160 (mod_wsgi-4.6.7.tar.gz) = de54aa46c51d0dbc6a190d302a884b7fb4b5069c
 SHA512 (mod_wsgi-4.6.7.tar.gz) = 0a0953471e5f117f650917da8f0c74e448c911820d12e2ecc9d0437d0464dc10f28924708b7f3826ffc2d6df372b5cebda4178bd57bd83e051bce70c92d62dae
 Size (mod_wsgi-4.6.7.tar.gz) = 497481 bytes
+SHA1 (patch-configure) = 7ece56413dfcb8de755dab722ebac632f3d1166f
diff -r 56dc7d5edb26 -r d2cdaa097e97 www/py-mod_wsgi/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-mod_wsgi/patches/patch-configure   Wed May 13 04:43:01 2020 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-configure,v 1.1 2020/05/13 04:43:01 rillig Exp $
+
+Fix bashism.
+
+https://github.com/GrahamDumpleton/mod_wsgi/issues/567
+
+--- configure.orig     2018-08-14 00:24:32.000000000 +0000
++++ configure  2020-05-02 14:39:52.265155718 +0000
+@@ -1938,7 +1938,7 @@
+ if test -x "${APXS}"; then
+     APXS_CC=`${APXS} -q CC`
+     APXS_LIBTOOL=`${APXS} -q LIBTOOL | sed -e "s/ .*$//"`
+-    if [[ ${APXS_CC} = ${XCODE_PREFIX}* ]]; then
++    case ${APXS_CC} in "${XCODE_PREFIX}"*)
+         if test ! -x ${XCODE_CC}; then
+             cat "${APXS_LIBTOOL}" | sed -e \
+                 "s%${XCODE_BIN_PATTERN}%/usr/bin/%" > ./libtool
+@@ -1953,7 +1953,7 @@
+ 
+         chmod +x ./apxs ./libtool
+         APXS=./apxs
+-    fi
++    esac
+ fi
+ 
+ 



Home | Main Index | Thread Index | Old Index