pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-bsddb3 Allow db6 and set up the environme...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0130c8d7ef0
branches:  trunk
changeset: 357711:f0130c8d7ef0
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 26 13:01:36 2017 +0000

description:
Allow db6 and set up the environment correctly so this builds
automatically against it.

Users have to have accepted the db6 license already for installing it
anyway.

diffstat:

 databases/py-bsddb3/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r a7f5cf60b456 -r f0130c8d7ef0 databases/py-bsddb3/Makefile
--- a/databases/py-bsddb3/Makefile      Thu Jan 26 12:45:56 2017 +0000
+++ b/databases/py-bsddb3/Makefile      Thu Jan 26 13:01:36 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2017/01/26 12:03:15 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2017/01/26 13:01:36 wiz Exp $
 
 DISTNAME=      bsddb3-6.2.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,7 @@
 COMMENT=       Python bindings for Oracle Berkeley DB
 LICENSE=       modified-bsd
 
-BDB_ACCEPTED=          db4 db5
+BDB_ACCEPTED=  db6 db5 db4
 
 PYSETUPBUILDARGS=      --berkeley-db=${BDBBASE}
 PYSETUPINSTALLARGS=    --berkeley-db=${BDBBASE}
@@ -27,6 +27,8 @@
 SUBST_FILES.bdb=       ${WRKSRC}/setup2.py ${WRKSRC}/setup3.py
 SUBST_SED.bdb=         -e "s,dblib = 'db',dblib = '${BDB_TYPE}',g"
 
+MAKE_ENV+=             YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
+
 do-test:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} test.py
 



Home | Main Index | Thread Index | Old Index