summaryrefslogtreecommitdiff
path: root/parallel/mpi-ch/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2013-02-26 23:36:17 +0000
committerjoerg <joerg>2013-02-26 23:36:17 +0000
commitc6e0f32e241bcc636e9d21f01b4d7d2417a72f88 (patch)
tree350a20f7060636b000f5b49a5c43012b319dbae6 /parallel/mpi-ch/patches
parent6de4f0866ebfe1b5bb3dc3809ea2bb2db80694b0 (diff)
downloadpkgsrc-c6e0f32e241bcc636e9d21f01b4d7d2417a72f88.tar.gz
On NetBSD, link against libexecinfo when backtrace(3) is desired.
Diffstat (limited to 'parallel/mpi-ch/patches')
-rw-r--r--parallel/mpi-ch/patches/patch-src_mpe2_src_callstack_src_Makefile.in13
-rw-r--r--parallel/mpi-ch/patches/patch-src_mpe2_src_logging_src_Makefile.in13
2 files changed, 26 insertions, 0 deletions
diff --git a/parallel/mpi-ch/patches/patch-src_mpe2_src_callstack_src_Makefile.in b/parallel/mpi-ch/patches/patch-src_mpe2_src_callstack_src_Makefile.in
new file mode 100644
index 00000000000..17dccc994dd
--- /dev/null
+++ b/parallel/mpi-ch/patches/patch-src_mpe2_src_callstack_src_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mpe2_src_callstack_src_Makefile.in,v 1.1 2013/02/26 23:36:17 joerg Exp $
+
+--- src/mpe2/src/callstack/src/Makefile.in.orig 2013-02-26 21:04:07.000000000 +0000
++++ src/mpe2/src/callstack/src/Makefile.in
+@@ -25,7 +25,7 @@ CFLAGS = @CFLAGS@
+ MPE_LIBDIR = @libbuild_dir@
+ LIB_PATH = $(MPI_LIBS)
+ PROF_LIBS = -L$(MPE_LIBDIR) @PROF_LIBS@ $(MPI_LIBS)
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ ${LIBEXECINFO}
+ MPE_BUILD_FORTRAN2C = @MPE_BUILD_FORTRAN2C@
+ CC_DOES_C_O = @CC_DOES_C_O@
+
diff --git a/parallel/mpi-ch/patches/patch-src_mpe2_src_logging_src_Makefile.in b/parallel/mpi-ch/patches/patch-src_mpe2_src_logging_src_Makefile.in
new file mode 100644
index 00000000000..8313e85b4ad
--- /dev/null
+++ b/parallel/mpi-ch/patches/patch-src_mpe2_src_logging_src_Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mpe2_src_logging_src_Makefile.in,v 1.1 2013/02/26 23:36:17 joerg Exp $
+
+--- src/mpe2/src/logging/src/Makefile.in.orig 2013-02-26 21:04:35.000000000 +0000
++++ src/mpe2/src/logging/src/Makefile.in
+@@ -25,7 +25,7 @@ CFLAGS = @CFLAGS@
+ MPE_LIBDIR = @libbuild_dir@
+ LIB_PATH = $(MPI_LIBS)
+ PROF_LIBS = -L$(MPE_LIBDIR) @PROF_LIBS@ $(MPI_LIBS)
+-LDFLAGS = @LDFLAGS@
++LDFLAGS = @LDFLAGS@ ${LIBEXECINFO}
+ MPE_BUILD_FORTRAN2C = @MPE_BUILD_FORTRAN2C@
+ CC_DOES_C_O = @CC_DOES_C_O@
+