ports/lang/ghc/files862/patch-ghc.mk
Gleb Popov 0402fd9082 Merge lang/ghcXXX ports into lang/ghc.
Remove OPTIONS support from library Haskell ports.
Do not install documentation by library Haskell ports.
Remove deprecation notice from library ports, that still needed.

PR:		224083
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D20247
2019-05-28 15:53:04 +00:00

20 lines
694 B
Makefile

--- ghc.mk.orig 2018-09-16 20:53:54 UTC
+++ ghc.mk
@@ -96,6 +96,7 @@ endif
# Catch make if it runs away into an infinite loop
ifeq "$(MAKE_RESTARTS)" ""
else ifeq "$(MAKE_RESTARTS)" "1"
+else ifeq "$(MAKE_RESTARTS)" "2"
else
$(error Make has restarted itself $(MAKE_RESTARTS) times; is there a makefile bug? See http://ghc.haskell.org/trac/ghc/wiki/Building/Troubleshooting#Makehasrestarteditself3timesisthereamakefilebug for details)
endif
@@ -461,9 +462,7 @@ PACKAGES_STAGE1 += template-haskell
PACKAGES_STAGE1 += ghc-compact
PACKAGES_STAGE1 += ghc-heap
-ifeq "$(HADDOCK_DOCS)" "YES"
PACKAGES_STAGE1 += xhtml
-endif
ifeq "$(WITH_TERMINFO)" "YES"
PACKAGES_STAGE1 += terminfo