For cabalized haskell ports, let Setup configure and Setup build

be a little bit more verbose. It's annoying if you don't see what's
going on during configure and which options are passed to ghc during
build.
This commit is contained in:
kili 2011-04-13 15:20:15 +00:00
parent 1eeae99926
commit a9bd7fa59f

View File

@ -1,4 +1,4 @@
# $OpenBSD: ghc.port.mk,v 1.19 2011/04/11 14:30:32 kili Exp $
# $OpenBSD: ghc.port.mk,v 1.20 2011/04/13 15:20:15 kili Exp $
# Module for Glasgow Haskell Compiler
# Not yet ported to other architectures
@ -76,7 +76,7 @@ MODCABAL_configure = \
done && \
cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} ${MODGHC_SETUP_CONF_ENV} \
${MODGHC_SETUP_PROG} \
configure -g -O --prefix=${PREFIX} \
configure -v -g -O --prefix=${PREFIX} \
${MODGHC_SETUP_CONF_ARGS}
CONFIGURE_STYLE += CABAL
@ -84,7 +84,7 @@ CONFIGURE_STYLE += CABAL
. if !target(do-build)
do-build:
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
${MODGHC_SETUP_PROG} build
${MODGHC_SETUP_PROG} build -v
. if ${MODGHC_BUILD:L:Mhaddock}
@cd ${WRKBUILD} && exec ${SETENV} ${MAKE_ENV} \
${MODGHC_SETUP_PROG} haddock