diff options
author | Ian Lynagh <igloo@earth.li> | 2010-05-09 17:50:51 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-05-09 17:50:51 +0000 |
commit | ee9ecae821665a7d9f2c8629264614a8d42c1b5d (patch) | |
tree | 82641d8e8be958ddc2c3c8dbc70b1f05465b0e37 /rules/build-package-data.mk | |
parent | c24af7168babfe2a7c231c1c7a61b74d952aee84 (diff) | |
download | haskell-ee9ecae821665a7d9f2c8629264614a8d42c1b5d.tar.gz |
Add version constraints for the boot packages; fixes trac #3852
When using the bootstrapping compiler, we now explicitly constrain
the version of boot packages (Cabal, extensible-exceptions, etc) to the
in-tree version, so that the build system is less fragile should the
user have a newer version installed for the bootstrapping compiler.
Diffstat (limited to 'rules/build-package-data.mk')
-rw-r--r-- | rules/build-package-data.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk index 88e2c63171..5882e89a37 100644 --- a/rules/build-package-data.mk +++ b/rules/build-package-data.mk @@ -42,6 +42,10 @@ ifneq "$$(ICONV_LIB_DIRS)" "" $1_$2_CONFIGURE_OPTS += --configure-option=--with-iconv-libraries="$$(ICONV_LIB_DIRS)" endif +ifeq "$3" "0" +$1_$2_CONFIGURE_OPTS += $$(BOOT_PKG_CONSTRAINTS) +endif + # This rule configures the package, generates the package-data.mk file # for our build system, and registers the package for use in-place in # the build tree. |