summaryrefslogtreecommitdiff
path: root/science/mpqc
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-02-19 07:30:58 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-02-19 07:30:58 +0000
commit8e526b257e15a4ef82c2c21da90dcb126963af08 (patch)
tree2bdd2a07baf132655b3a7c90ea38fffa981dda62 /science/mpqc
parent* Run cvs update just before cvs commit to sync a potentially changed files (diff)
Build fix for mpqc-mpich.
Notes
Notes: svn path=/head/; revision=185502
Diffstat (limited to 'science/mpqc')
-rw-r--r--science/mpqc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile
index aa990ce9aa0c..27763b6c8390 100644
--- a/science/mpqc/Makefile
+++ b/science/mpqc/Makefile
@@ -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