--- a/components/mercurial/Makefile Thu Mar 19 14:35:58 2015 -0700
+++ b/components/mercurial/Makefile Thu Mar 19 20:44:31 2015 -0700
@@ -42,9 +42,9 @@
# Mercurial does not yet support Python 3.
PYTHON_VERSIONS = 2.7 2.6
-include $(WS_TOP)/make-rules/prep.mk
-include $(WS_TOP)/make-rules/setup.py.mk
-include $(WS_TOP)/make-rules/ips.mk
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/setup.py.mk
+include $(WS_MAKE_RULES)/ips.mk
COMPONENT_POST_INSTALL_ACTION = \
(cd $(PROTO_DIR)/usr/bin ; $(MV) -f hg hg-$(PYTHON_VERSION))
@@ -101,6 +101,7 @@
test: install $(TEST_32)
-BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
-include $(WS_TOP)/make-rules/depend.mk
+REQUIRED_PACKAGES += runtime/python-26
+REQUIRED_PACKAGES += runtime/python-27
+REQUIRED_PACKAGES += system/library