mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
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:
parent
08322758f0
commit
c2844ed375
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332638
1 changed files with 6 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue