aboutsummaryrefslogtreecommitdiff
path: root/lang/ghc
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2022-06-18 13:27:55 +0000
committerGleb Popov <arrowd@FreeBSD.org>2022-07-07 10:24:39 +0000
commit92d9d50ef6ec1414deefb6df1db2946bad85817c (patch)
tree0b87061e0253058248282d9f6f5204b113025fec /lang/ghc
parent2d1dc289bc20e75e5db0ab97e23bb7b2dd138db2 (diff)
downloadports-92d9d50ef6ec1414deefb6df1db2946bad85817c.tar.gz
ports-92d9d50ef6ec1414deefb6df1db2946bad85817c.zip
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.
Diffstat (limited to 'lang/ghc')
-rw-r--r--lang/ghc/files/build.mk.in13
1 files changed, 0 insertions, 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