diff options
author | Wen Heping <wen@FreeBSD.org> | 2011-01-10 13:05:17 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2011-01-10 13:05:17 +0000 |
commit | 41a9f2bde13436d9a339600c6732e8d1d320f849 (patch) | |
tree | c1e5ed82fc0dd4e5bc9422c87d195240032e1451 /databases/py-bsddb3 | |
parent | 2f5f62c7428713cd6029bf8904b02d7722dd137d (diff) | |
download | ports-41a9f2bde13436d9a339600c6732e8d1d320f849.tar.gz ports-41a9f2bde13436d9a339600c6732e8d1d320f849.zip |
Notes
Diffstat (limited to 'databases/py-bsddb3')
-rw-r--r-- | databases/py-bsddb3/Makefile | 1 | ||||
-rw-r--r-- | databases/py-bsddb3/files/patch-setup2.py | 25 |
2 files changed, 21 insertions, 5 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile index edec3edeee22..62df0103ddb1 100644 --- a/databases/py-bsddb3/Makefile +++ b/databases/py-bsddb3/Makefile @@ -7,6 +7,7 @@ PORTNAME= bsddb3 PORTVERSION= 5.1.1 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/databases/py-bsddb3/files/patch-setup2.py b/databases/py-bsddb3/files/patch-setup2.py index 46d751ec7db9..d1b061d6bb95 100644 --- a/databases/py-bsddb3/files/patch-setup2.py +++ b/databases/py-bsddb3/files/patch-setup2.py @@ -1,13 +1,28 @@ ---- setup2.py.orig 2009-06-30 14:58:28.711417858 +0800 -+++ setup2.py 2009-06-30 14:59:05.363767161 +0800 -@@ -204,8 +204,8 @@ +--- setup2.py.orig 2010-11-05 06:19:08.000000000 +0800 ++++ setup2.py 2011-01-10 16:51:14.000000000 +0800 +@@ -50,10 +50,10 @@ + category=DeprecationWarning) + + +-try : +- from setuptools import setup, Extension +-except : +- from distutils.core import setup, Extension ++#try : ++# from setuptools import setup, Extension ++#except : ++from distutils.core import setup, Extension + + from distutils.dep_util import newer + import distutils.ccompiler +@@ -248,8 +248,8 @@ incdir = os.path.join(BERKELEYDB_DIR, 'include') if not libdir: libdir = os.path.join(BERKELEYDB_DIR, 'lib') - if not '-ldb' in LIBS: - libname = [dblib] -+ if not '-l%%DBVERSION%%' in LIBS: -+ libname = ['%%DBVERSION%%'] ++ if not '-ldb-4.2' in LIBS: ++ libname = ['db-4.2'] else: if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'" libname = [] |