1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix installation of hs-ghc-paths as slave port when build is launched in

user mode.

PR:		ports/140269
Submitted by:	Makoto Kishimoto <ksmakoto(at)dd(dot)iij4u(dot)or(dot)jp>
This commit is contained in:
Gabor Pali 2009-11-08 19:40:06 +00:00
parent fb795642d2
commit fe16d686ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243985

View File

@ -181,7 +181,7 @@ MAN1= ghc.1
SLAVES_PREFIX= ${WRKDIR}/slaves_prefix
SLAVES_WRKDIRPREFIX= ${WRKDIR}/slaves_wrkdirprefix
SLAVES_MAKE_ARGS= -DSLAVE PREFIX=${SLAVES_PREFIX} WRKDIRPREFIX=${SLAVES_WRKDIRPREFIX}
SLAVES_MAKE_ARGS= -DSLAVE PREFIX=${SLAVES_PREFIX} WRKDIRPREFIX=${SLAVES_WRKDIRPREFIX} PATH=${BOOT_DIR}/bin:${PATH}
MAKE_ENV+= PATH=${SLAVES_PREFIX}/bin:${PATH}
CONFIGURE_ENV+= PATH=${SLAVES_PREFIX}/bin:${PATH}
@ -273,14 +273,14 @@ pre-configure:
.if defined(WITHOUT_HADDOCK)
@(cd ${PORTSDIR}/devel/hs-ghc-paths && \
${SETENV} PATH=${BOOT_DIR}/bin:${PATH} ${MAKE} ${SLAVES_MAKE_ARGS} install)
${MAKE} ${SLAVES_MAKE_ARGS} install)
@(cd ${PORTSDIR}/devel/hs-haddock && \
${SETENV} PATH=${BOOT_DIR}/bin:${PATH} ${MAKE} ${SLAVES_MAKE_ARGS} install)
${MAKE} ${SLAVES_MAKE_ARGS} install)
.endif
@(cd ${PORTSDIR}/print/hs-hscolour && \
${SETENV} PATH=${BOOT_DIR}/bin:${PATH} ${MAKE} ${SLAVES_MAKE_ARGS} install)
${MAKE} ${SLAVES_MAKE_ARGS} install)
.endif
post-install: