summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2004-08-16 12:13:32 +0000
committerMaho Nakata <maho@FreeBSD.org>2004-08-16 12:13:32 +0000
commit5c6be93873f2fbc6d9640637dffd957221aa7558 (patch)
treedd1cdef6656d982be3e265dc52ae91d79cda9c48 /science
parentUSE_ICC -> WITH_ICC (diff)
USE_ICC -> WITH_ICC, and mpi support
Passed by: portlint
Notes
Notes: svn path=/head/; revision=116390
Diffstat (limited to 'science')
-rw-r--r--science/mpqc-mpich/Makefile2
-rw-r--r--science/mpqc/Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/science/mpqc-mpich/Makefile b/science/mpqc-mpich/Makefile
index f701123dfc2d..e803bb92a696 100644
--- a/science/mpqc-mpich/Makefile
+++ b/science/mpqc-mpich/Makefile
@@ -15,6 +15,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/mpich/lib/libmpich.a:${PORTSDIR}/net/mpich
# MPICH implimentation is not thread safe
CONFIGURE_ARGS+= --with-libdirs="-L${LOCALBASE}/lib -L${LOCALBASE}/mpich/lib" \
- --with-include="-I${LOCALBASE}/mpich/include" \
+ --with-include="-I${LOCALBASE}/mpich/include -I${WRKDIR}" \
--enable-always-use-mpi \
--enable-threads=no
diff --git a/science/mpqc/Makefile b/science/mpqc/Makefile
index f1ada800a288..b6ef27b9a934 100644
--- a/science/mpqc/Makefile
+++ b/science/mpqc/Makefile
@@ -18,7 +18,7 @@ DISTFILES+= mpqc-man-${PORTVERSION}.tar.gz mpqc-html-${PORTVERSION}.tar.gz
MAINTAINER= maho@FreeBSD.org
COMMENT= The massively parallel quantum computing library and program
-.if defined(USE_ICC)
+.if defined(WITH_ICC)
BUILD_DEPENDS+= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc
.endif
@@ -28,7 +28,7 @@ USE_BISON= yes
GNU_CONFIGURE= yes
USE_AUTOCONF_VER=259
-.if defined(USE_ICC)
+.if defined(WITH_ICC)
CC= ${LOCALBASE}/intel_cc_80/bin/icc
CXX= ${LOCALBASE}/intel_cc_80/bin/icpc
CFLAGS= -O3 -tpp7 -xMKW -Vaxlib
@@ -47,7 +47,7 @@ CONFIGURE_ARGS= --with-cc=${CC} \
--with-cxxoptflags="${CXXFLAGS}" \
--with-f77optflags="${FFLAGS}" \
--with-include="-I${WRKDIR}"
-.if defined(USE_ICC)
+.if defined(WITH_ICC)
CONFIGURE_ARGS+=--with-libs="-lsvml"
.endif