diff options
author | minskim <minskim> | 2007-12-24 01:19:47 +0000 |
---|---|---|
committer | minskim <minskim> | 2007-12-24 01:19:47 +0000 |
commit | b076b39293bd98d835e5445bf61d4eb0ffb755ab (patch) | |
tree | 10da2610170f67f016004abe115e8623c2405dcd /lang/python23/patches | |
parent | 517ad3be20adba87c8060fb4e5dffd9dabc41114 (diff) | |
download | pkgsrc-b076b39293bd98d835e5445bf61d4eb0ffb755ab.tar.gz |
Use BDB_LIBS to obtain the BDB library name, instead of guessing
it from BUILDLINK_TRANSFORM. This fixes PR 37297.
Diffstat (limited to 'lang/python23/patches')
-rw-r--r-- | lang/python23/patches/patch-am | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/python23/patches/patch-am b/lang/python23/patches/patch-am index e1f266589f5..ba4f0654c74 100644 --- a/lang/python23/patches/patch-am +++ b/lang/python23/patches/patch-am @@ -1,6 +1,6 @@ -$NetBSD: patch-am,v 1.5 2004/04/13 22:48:41 recht Exp $ +$NetBSD: patch-am,v 1.6 2007/12/24 01:19:48 minskim Exp $ ---- setup.py.orig 2003-10-21 15:01:21.000000000 -0500 +--- setup.py.orig 2005-01-17 13:07:49.000000000 -0800 +++ setup.py @@ -15,7 +15,7 @@ from distutils.command.install import in from distutils.command.install_lib import install_lib @@ -268,8 +268,8 @@ $NetBSD: patch-am,v 1.5 2004/04/13 22:48:41 recht Exp $ + else: + raise NotFound + try: -+ bltransform = os.environ['PY_BDB_TRANSFORM'] -+ m = re.search(r"l:db:(db.)\s*", bltransform) ++ bdblib = os.environ['PY_BDB_LIBS'] ++ m = re.search(r"-l(db.)\s*", bdblib) + if m is not None and m.group(1) is not None: + dblibs = [m.group(1)] + except: @@ -339,7 +339,7 @@ $NetBSD: patch-am,v 1.5 2004/04/13 22:48:41 recht Exp $ exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) ) if platform == 'sunos5': -@@ -1140,7 +1195,7 @@ def main(): +@@ -1148,7 +1203,7 @@ def main(): ext_modules=[Extension('struct', ['structmodule.c'])], # Scripts to install |