1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Build fix for mpqc-mpich.

This commit is contained in:
Maho Nakata 2007-02-19 07:30:58 +00:00
parent eed3828ab1
commit 8e526b257e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185502

View File

@ -71,16 +71,19 @@ CONFIGURE_ARGS+=--with-cc=${CC} \
--with-coptflags="${CFLAGS}" \
--with-cxxoptflags="${CXXFLAGS}" \
--with-f77optflags="${FFLAGS}" \
--with-include="-I${WRKDIR} -I${LOCALBASE}/include" \
--enable-shared
.if defined(WITH_ICC)
CONFIGURE_ARGS+=--with-libs="-lsvml"
.endif
.if defined(WITH_MPICH)
CONFIGURE_ARGS+=--with-libdirs="-L${LOCALBASE}/lib -L${LOCALBASE}/mpich2/lib"\
--with-include="-I${LOCALBASE}/mpich2/include -I${WRKDIR}" \
--enable-always-use-mpi
.endif
.if defined(WITH_MPICH)
CONFIGURE_ARGS+=--with-include="-I${LOCALBASE}/mpich2/include -I${WRKDIR} -I${LOCALBASE}/include"
.else
CONFIGURE_ARGS+=--with-include="-I${WRKDIR} -I${LOCALBASE}/include"
.endif
MPQC_COMMAND= ${PREFIX}/bin/mpqc