git: 92d9d50ef6ec - main - lang/ghc: Generate build.mk file from the Makefile variable.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 10:25:55 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=92d9d50ef6ec1414deefb6df1db2946bad85817c

commit 92d9d50ef6ec1414deefb6df1db2946bad85817c
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-06-18 13:27:55 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-07-07 10:24:39 +0000

    lang/ghc: Generate build.mk file from the Makefile variable.
    
    This removes the need to keep build.mk.in in files/ and also allows to get
    rid of SUB_FILES.
---
 lang/ghc/files/build.mk.in | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/lang/ghc/files/build.mk.in b/lang/ghc/files/build.mk.in
deleted file mode 100644
index 0054af754ccd..000000000000
--- a/lang/ghc/files/build.mk.in
+++ /dev/null
@@ -1,13 +0,0 @@
-DYNAMIC_GHC_PROGRAMS = %%WITH_DYNAMIC%%
-BUILD_PROF_LIBS = %%WITH_PROFILE%%
-HADDOCK_DOCS = YES
-# disable xelatex: PR 231438
-BUILD_SPHINX_PDF = NO
-SRC_HC_OPTS += -I%%NCURSESINC%% -L%%NCURSESLIB%% -I%%LOCALBASE%%/include -L%%LOCALBASE%%/lib
-SRC_CC_OPTS += %%CFLAGS%%
-EXTRA_HSC2HS_OPTS += -I%%LOCALBASE%%/include --lflag=-L%%LOCALBASE%%/lib
-EXTRA_LD_OPTS += -L%%LOCALBASE%%/lib
-EXTRA_CABAL_CONFIGURE_FLAGS += --extra-include-dirs=%%LOCALBASE%%/include
-EXTRA_CABAL_CONFIGURE_FLAGS += --extra-lib-dirs=%%LOCALBASE%%/lib
-libraries/terminfo_CONFIGURE_OPTS += --configure-option=--with-curses-includes=%%NCURSESINC%% --configure-option=--with-curses-libraries=%%NCURSESLIB%%
-V = 0