summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsainty <dsainty>2012-09-05 23:33:41 +0000
committerdsainty <dsainty>2012-09-05 23:33:41 +0000
commit9bfd01ee06be3f9524ff958823e9fbdc8a8363f7 (patch)
tree4061131243a16091a0559820c8d4dbe6d4ed4d8c
parent99b6d6b02a71a717eba804dffe399efbbb6f0d7b (diff)
downloadpkgsrc-9bfd01ee06be3f9524ff958823e9fbdc8a8363f7.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.
-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