summaryrefslogtreecommitdiff
path: root/databases/sqlrelay/patches
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-09-28 08:42:07 +0000
committeradam <adam@pkgsrc.org>2019-09-28 08:42:07 +0000
commit722f91d183fdda603854bdd03ed10341cf12f641 (patch)
treeb99d5d3c6f320ce937aca756148905e483c988af /databases/sqlrelay/patches
parent3e23a9f797c52c39e3cef980c71522096cde37ca (diff)
downloadpkgsrc-722f91d183fdda603854bdd03ed10341cf12f641.tar.gz
py-sqlrelay: fix buidling when multiple Python versions are installed
Diffstat (limited to 'databases/sqlrelay/patches')
-rw-r--r--databases/sqlrelay/patches/patch-configure9
1 files changed, 6 insertions, 3 deletions
diff --git a/databases/sqlrelay/patches/patch-configure b/databases/sqlrelay/patches/patch-configure
index 77da3268acb..1f6d3a0ab8d 100644
--- a/databases/sqlrelay/patches/patch-configure
+++ b/databases/sqlrelay/patches/patch-configure
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.6 2017/01/16 13:13:13 fhajny Exp $
+$NetBSD: patch-configure,v 1.7 2019/09/28 08:42:07 adam Exp $
Cripple iODBC check, we're using UnixODBC and it was getting in the way.
Fix Python 3 lookup.
@@ -15,9 +15,12 @@ Fix Ruby support.
NAME=iodbc
HEADER=sql.h
LIBNAME=iodbc
-@@ -32426,12 +32426,12 @@ then
+@@ -32424,14 +32424,14 @@ then
+ if ( test -n "$PYTHON3PATH" )
+ then
- for i in "3.9" "3.8" "3.7" "3.6" "3.5" "3.4" "3.3" "3.2" "3.1" "3.0"
+- for i in "3.9" "3.8" "3.7" "3.6" "3.5" "3.4" "3.3" "3.2" "3.1" "3.0"
++ for i in "${PYVERSSUFFIX}"
do
- if ( test -d "$PYTHON3PATH/include/python$i" -a -d "$PYTHON3PATH/lib64/python$i/config" )
+ if ( test -d "$PYTHON3PATH/include/python$i" -a -d "$PYTHON3PATH/lib64/python$i/config-$i" )