diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-02-19 07:30:58 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-02-19 07:30:58 +0000 |
commit | 8e526b257e15a4ef82c2c21da90dcb126963af08 (patch) | |
tree | 2bdd2a07baf132655b3a7c90ea38fffa981dda62 /science | |
parent | eed3828ab17e309a802e1aadc69eacf92b8c5f48 (diff) | |
download | ports-8e526b257e15a4ef82c2c21da90dcb126963af08.tar.gz ports-8e526b257e15a4ef82c2c21da90dcb126963af08.zip |
Build fix for mpqc-mpich.
Notes
Notes:
svn path=/head/; revision=185502
Diffstat (limited to 'science')
-rw-r--r-- | science/mpqc/Makefile | 7 |
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 |