aboutsummaryrefslogtreecommitdiff
path: root/net/mpich2
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2009-02-04 18:41:08 +0000
committerThierry Thomas <thierry@FreeBSD.org>2009-02-04 18:41:08 +0000
commitfe531bb7050b4605044c01df2ec16270734bb81d (patch)
tree4a758f751e6aaadbaa47dc99f405b832129d622e /net/mpich2
parent68bcf49d3692c9e4c78ede27db7006bed405c863 (diff)
downloadports-fe531bb7050b4605044c01df2ec16270734bb81d.tar.gz
ports-fe531bb7050b4605044c01df2ec16270734bb81d.zip
- Bump PORTREVISION to chase the compiler change, in order to avoid the
message: /usr/local/mpich2/include/mpicxx.h:46:4: error: #error 'Please use the same version of GCC for compiling MPICH2 and user MPI programs' - use execinfo.
Notes
Notes: svn path=/head/; revision=227624
Diffstat (limited to 'net/mpich2')
-rw-r--r--net/mpich2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index 7ab344f513f4..a8570ea75526 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mpich2
PORTVERSION= 1.0.7
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 3
CATEGORIES= net parallel
MASTER_SITES= http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/
@@ -18,6 +18,7 @@ DIST_SUBDIR= mpich
MAINTAINER= ports@FreeBSD.org
COMMENT= A portable implementation of MPI-1 and MPI-2
+LIB_DEPENDS= execinfo.1:${PORTDIR}/devel/libexecinfo
#BUILD_DEPENDS= doctext:${PORTSDIR}/textproc/sowing
#-----------------------------------------------------------------------
@@ -34,7 +35,8 @@ USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-romio --enable-sharedlibs=gcc
-CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}"
+CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lexecinfo ${PTHREAD_LIBS}"
FFLAGS?= -O2
NOCCACHE= yes
MAKE_ENV= CCACHE_DISABLE=yes