From da53f908e94657164a1ce6974dd7ce7e9501a12c Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 7 Aug 2009 14:41:13 -0400 Subject: [PATCH] psycopg: fixed to find py-mx in different versions of python --- python/psycopg/psycopg.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/psycopg/psycopg.conf b/python/psycopg/psycopg.conf index 6d921076c..f4529b0da 100644 --- a/python/psycopg/psycopg.conf +++ b/python/psycopg/psycopg.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../psycopg/psycopg.conf +# Copyright (C) 2009 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -11,9 +12,10 @@ # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- + pkgprefix -t python -pylibdir=$( pkgprefix libdir python )/python2.4 +pylibdir=$(pkgprefix libdir python)/python$(pkgprefix ver python | cut -d. -f1,2) pkgprefix -t postgresql