summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2012-09-05 23:33:41 +0000
committerdsainty <dsainty@pkgsrc.org>2012-09-05 23:33:41 +0000
commit276b886564e5d6da67544efe903e84462f0667e4 (patch)
tree4061131243a16091a0559820c8d4dbe6d4ed4d8c /devel
parent593faf50d2a045d2cb64addb04553c98fd697439 (diff)
downloadpkgsrc-276b886564e5d6da67544efe903e84462f0667e4.tar.gz
pysqlite2 is used by xulrunner's Python virtualenv. If pysqlite2 isn't
installed at build time it will attempt to download it instead, so the problem is stealthy in a networked environment, and obvious in an offline environment. Add it as a build dependency.
Diffstat (limited to 'devel')
-rw-r--r--devel/xulrunner/mozilla-common.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/xulrunner/mozilla-common.mk b/devel/xulrunner/mozilla-common.mk
index f924a0e1fe2..38200c4f1d6 100644
--- a/devel/xulrunner/mozilla-common.mk
+++ b/devel/xulrunner/mozilla-common.mk
@@ -1,4 +1,4 @@
-# $NetBSD: mozilla-common.mk,v 1.35 2012/08/28 12:42:01 ryoon Exp $
+# $NetBSD: mozilla-common.mk,v 1.36 2012/09/05 23:33:41 dsainty Exp $
#
# common Makefile fragment for mozilla packages based on gecko 2.0.
#
@@ -59,6 +59,14 @@ PYTHON_FOR_BUILD_ONLY= yes
.include "../../lang/python/application.mk"
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
+#
+# pysqlite2 is used by xulrunner's Python virtualenv. If pysqlite2 isn't
+# installed at build time it will attempt to download it instead, so the
+# problem is stealthy in a networked environment, and obvious in an
+# offline environment.
+#
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sqlite2-[0-9]*:../../databases/py-sqlite2
+
# Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
.PHONY: create-rm-wrapper
pre-configure: create-rm-wrapper