Changeset View
Changeset View
Standalone View
Standalone View
lang/ghc/bsd.cabal.mk
Show First 20 Lines • Show All 94 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 | ||||
.endif | .endif | ||||
# LLVM is still not properly supported, further it does not make sense to have | # 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. | # 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. | # 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 | # 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. | # We should however investigate whether base's clang is enough to build ghc&co. | ||||
tcberner: This comment can now go too ... | |||||
USE_GCC= yes | #USE_GCC= yes | ||||
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 | ||||
▲ Show 20 Lines • Show All 238 Lines • Show Last 20 Lines |
This comment can now go too ...