ports/databases/py-bsddb3/files/patch-setup2.py
Li-Wen Hsu e82d16a272 - Update to 4.7.6 [1]
- Use COPYTREE_SHARE to install documents

PR:		ports/130412 [1]
Submitted by:	David Naylor <naylor.b.david AT gmail.com>
Approved by:	maintainer timeout (6 months)
2009-06-30 08:49:35 +00:00

13 lines
513 B
Python

--- 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 @@
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%%']
else:
if debug: print "LIBS already contains '-ldb' not adding our own", "'-l"+dblib+"'"
libname = []