Allow the port to go a bit further in the build process.

Instead of complaining that `gmake' does not exist, the port fails a bit
later and at least starts building.

The previous failure was caused because we used USES=gmake but then re-set
BUILD_DEPENDS and MAKE_ENV a few lines below in the Makefile.
This commit is contained in:
Raphael Kubo da Costa 2013-11-03 18:34:46 +00:00
parent 08322758f0
commit c2844ed375
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332638

View file

@ -39,13 +39,13 @@ WITH_OPENMPI= yes
.endif
.if defined(WITH_OPENMPI)
BUILD_DEPENDS= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
RUN_DEPENDS= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
MAKE_ENV= MPI_HOME=${LOCALBASE}/mpi/openmpi
BUILD_DEPENDS+= ${LOCALBASE}/mpi/openmpi/lib/libmpi.so:${PORTSDIR}/net/openmpi
RUN_DEPENDS+= ${LOCALBASE}/mpi/openmpi/bin/mpirun:${PORTSDIR}/net/openmpi
MAKE_ENV+= MPI_HOME=${LOCALBASE}/mpi/openmpi
.else
BUILD_DEPENDS= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
RUN_DEPENDS= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
MAKE_ENV= MPI_HOME=${LOCALBASE}
BUILD_DEPENDS+= ${LOCALBASE}/bin/mpicc:${PORTSDIR}/net/mpich2
RUN_DEPENDS+= ${LOCALBASE}/bin/mpirun:${PORTSDIR}/net/mpich2
MAKE_ENV+= MPI_HOME=${LOCALBASE}
.endif
do-install: