pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-bsddb3



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jan 26 13:01:36 UTC 2017

Modified Files:
        pkgsrc/databases/py-bsddb3: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/databases/py-bsddb3/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/py-bsddb3/Makefile
diff -u pkgsrc/databases/py-bsddb3/Makefile:1.52 pkgsrc/databases/py-bsddb3/Makefile:1.53
--- pkgsrc/databases/py-bsddb3/Makefile:1.52    Thu Jan 26 12:03:15 2017
+++ pkgsrc/databases/py-bsddb3/Makefile Thu Jan 26 13:01:36 2017
@@ -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 @@ HOMEPAGE=     http://pypi.python.org/pypi/bs
 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_STAGE.bdb=      pre-configure
 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