Changeset View
Changeset View
Standalone View
Standalone View
lang/ghc/bsd.cabal.mk
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
BUILD_DEPENDS+= ghc:lang/ghc | BUILD_DEPENDS+= ghc:lang/ghc | ||||
BUILD_DEPENDS+= ghc>=${GHC_VERSION}:lang/ghc | BUILD_DEPENDS+= ghc>=${GHC_VERSION}:lang/ghc | ||||
RUN_DEPENDS+= ghc:lang/ghc | RUN_DEPENDS+= ghc:lang/ghc | ||||
RUN_DEPENDS+= ghc>=${GHC_VERSION}:lang/ghc | RUN_DEPENDS+= ghc>=${GHC_VERSION}:lang/ghc | ||||
.else | .else | ||||
BUILD_DEPENDS+= ghc:lang/ghc | BUILD_DEPENDS+= ghc:lang/ghc | ||||
BUILD_DEPENDS+= ghc>=${GHC_VERSION}:lang/ghc | BUILD_DEPENDS+= ghc>=${GHC_VERSION}:lang/ghc | ||||
.endif | .endif | ||||
# LLVM is still not properly supported, further it does not make sense to have | |||||
# to depend on old llvm ports that will be removed from the ports soon. | |||||
# So for now, stick to GCC -- this might change with ghc-8.4. | |||||
# https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM/Installing | |||||
# We should however investigate whether base's clang is enough to build ghc&co. | |||||
USE_GCC= yes | |||||
tcberner: This comment can now go too ... | |||||
CONFIGURE_ARGS+= --with-gcc=${CC} --with-ld=${LD} --with-ar=${AR} | CONFIGURE_ARGS+= --with-gcc=${CC} --with-ld=${LD} --with-ar=${AR} | ||||
.if defined(USE_ALEX) | .if defined(USE_ALEX) | ||||
BUILD_DEPENDS+= ${ALEX_CMD}:devel/hs-alex | BUILD_DEPENDS+= ${ALEX_CMD}:devel/hs-alex | ||||
CONFIGURE_ARGS+= --with-alex=${ALEX_CMD} | CONFIGURE_ARGS+= --with-alex=${ALEX_CMD} | ||||
.endif | .endif | ||||
.if defined(USE_HAPPY) | .if defined(USE_HAPPY) | ||||
▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines |
This comment can now go too ...