summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-03-30 14:27:14 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-03-30 14:27:14 +0000
commitf96ea257527704ac24b2f619018de7ed5dc7c84d (patch)
tree0afc1b3feb71f50567f114069673235e858a20fc /ghc.mk
parent07308413a4b20e70c294b657006327b09b65cfc0 (diff)
downloadhaskell-f96ea257527704ac24b2f619018de7ed5dc7c84d.tar.gz
Don't install EXTRA_PACKAGES by default
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 69bb286bc7..f8f0937691 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -857,7 +857,11 @@ INSTALLED_GHC_REAL=$(DESTDIR)$(bindir)/ghc.exe
INSTALLED_GHC_PKG_REAL=$(DESTDIR)$(bindir)/ghc-pkg.exe
endif
-INSTALLED_PACKAGES = $(filter-out haskeline mtl terminfo utf8-string,$(PACKAGES))
+INSTALLED_PACKAGES := $(filter-out haskeline mtl terminfo utf8-string,$(PACKAGES))
+ifeq "$(InstallExtraPackages)" "NO"
+INSTALLED_PACKAGES := $(filter-out $(EXTRA_PACKAGES), $(INSTALLED_PACKAGES))
+endif
+
HIDDEN_PACKAGES = binary
define set_INSTALL_DISTDIR