aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-01-10 21:05:17 +0800
committerwen <wen@FreeBSD.org>2011-01-10 21:05:17 +0800
commit42839891ab65eafe0f489f3cbca64f3fafc99a6c (patch)
tree9ac1351115444f982b9eadce46e08082293e9782 /databases
parent346986b678082e306e7937c2b738a46b09e294e1 (diff)
downloadfreebsd-ports-graphics-42839891ab65eafe0f489f3cbca64f3fafc99a6c.tar.gz
freebsd-ports-graphics-42839891ab65eafe0f489f3cbca64f3fafc99a6c.tar.zst
freebsd-ports-graphics-42839891ab65eafe0f489f3cbca64f3fafc99a6c.zip
- Add a patch to fix plist
PR: ports/153629 Submitted by: paul@thistledew.org
Diffstat (limited to 'databases')
-rw-r--r--databases/py-bsddb3/Makefile1
-rw-r--r--databases/py-bsddb3/files/patch-setup2.py25
2 files changed, 21 insertions, 5 deletions
diff --git a/databases/py-bsddb3/Makefile b/databases/py-bsddb3/Makefile
index edec3edeee2..62df0103ddb 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 46d751ec7db..d1b061d6bb9 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 = []