summaryrefslogtreecommitdiff
path: root/databases/py-sqlite2
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-25 08:45:38 +0000
committerwiz <wiz>2014-01-25 08:45:38 +0000
commit59d18d7ce7376e1de35325128a188d3798ad5083 (patch)
tree306541a53ed81a240c7a33df7f59ee3423c74906 /databases/py-sqlite2
parent4b8e810c3e2ae1d5bf24b1692a76d338bb9542cf (diff)
downloadpkgsrc-59d18d7ce7376e1de35325128a188d3798ad5083.tar.gz
Use .PHONY correctly.
Diffstat (limited to 'databases/py-sqlite2')
-rw-r--r--databases/py-sqlite2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile
index 11163c3669c..cb1b7f751bb 100644
--- a/databases/py-sqlite2/Makefile
+++ b/databases/py-sqlite2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2013/10/19 09:07:01 adam Exp $
+# $NetBSD: Makefile,v 1.33 2014/01/25 08:45:38 wiz Exp $
DISTNAME= pysqlite-2.6.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pysqlite/sqlite2/}
@@ -11,10 +11,12 @@ HOMEPAGE= http://pysqlite.googlecode.com/
COMMENT= SQLite database adapter for Python
LICENSE= mit
-.include "../../lang/python/distutils.mk"
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.6.3
-do-postinstall-test: .PHONY
+.PHONY: do-postinstall-test
+do-postinstall-test:
cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
+.include "../../lang/python/distutils.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"