From edb348c1decc87e0e13ba1a405a431f5c0658168 Mon Sep 17 00:00:00 2001 From: Duncan Coutts Date: Thu, 18 Oct 2007 22:21:28 +0000 Subject: [PATCH] Tell Cabal what it's version number is while bootstrapping it This means that it'll work with all the packages that specify a cabal-version --- libraries/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Makefile b/libraries/Makefile index 89f10f8..f30554e 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -140,8 +140,8 @@ endif BOOTSTRAP_LIBS = Cabal filepath BOOTSTRAP_STAMPS = $(addprefix stamp/bootstrapping.,$(BOOTSTRAP_LIBS)) -BOOTSTRAP_INC_1_UP = $(addprefix -i../bootstrapping.,$(BOOTSTRAP_LIBS)) -BOOTSTRAP_INC_2_UP = $(addprefix -i../../bootstrapping.,$(BOOTSTRAP_LIBS)) +BOOTSTRAP_INC_1_UP = -DCABAL_VERSION=1,3 $(addprefix -i../bootstrapping.,$(BOOTSTRAP_LIBS)) +BOOTSTRAP_INC_2_UP = -DCABAL_VERSION=1,3 $(addprefix -i../../bootstrapping.,$(BOOTSTRAP_LIBS)) .PHONY: subdirs -- 1.7.10.4