summaryrefslogtreecommitdiff
path: root/databases/py-sqlite2
diff options
context:
space:
mode:
authorobache <obache>2008-09-21 09:24:52 +0000
committerobache <obache>2008-09-21 09:24:52 +0000
commit3eb8f4e7b5d4650f446fcae89550514397647307 (patch)
treebc224d20f2fa5f6a8b1ebac5bbeec6f70ad0804a /databases/py-sqlite2
parent22964974dd3a784a0769ae0db895cf10c322037a (diff)
downloadpkgsrc-3eb8f4e7b5d4650f446fcae89550514397647307.tar.gz
The self test put testdb on current directory, cd ${WRKDIR} first.
Diffstat (limited to 'databases/py-sqlite2')
-rw-r--r--databases/py-sqlite2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile
index 20a19143565..88db4e24973 100644
--- a/databases/py-sqlite2/Makefile
+++ b/databases/py-sqlite2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/09/10 12:40:58 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/09/21 09:24:52 obache Exp $
DISTNAME= pysqlite-2.5.0
PKGNAME= ${PYPKGPREFIX}-sqlite2-2.5.0
@@ -27,7 +27,7 @@ PLIST.python25= yes
PLIST_VARS+= python25
do-postinstall-test: .PHONY
- ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
+ cd ${WRKDIR} && ${PYTHONBIN} -c "from pysqlite2 import test;test.test()"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"