summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'parallel/mpi-ch/Makefile')
-rw-r--r--parallel/mpi-ch/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/parallel/mpi-ch/Makefile b/parallel/mpi-ch/Makefile
index af65051d19f..9b1cf7f831e 100644
--- a/parallel/mpi-ch/Makefile
+++ b/parallel/mpi-ch/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2012/10/03 21:57:14 wiz Exp $
+# $NetBSD: Makefile,v 1.71 2013/02/26 23:36:17 joerg Exp $
DISTNAME= mpich2-1.4.1p1
PKGREVISION= 1
@@ -63,6 +63,12 @@ CONF_FILES+= share/${PKGBASE}/examples/mpif77.conf \
BUILDLINK_TRANSFORM+= rm:-lrt
.endif
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+MAKE_ENV+= LIBEXECINFO=-lexecinfo
+.else
+MAKE_ENV+= LIBEXECINFO=
+.endif
+
.include "options.mk"
.include "../../parallel/openpa/buildlink3.mk"