summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-03-28 16:24:59 +0000
committerJustin Lecher <jlec@gentoo.org>2010-03-28 16:24:59 +0000
commitfa50c619fd0c6329b50fbf62909fd1a81ad4e2ec (patch)
tree2c057b97e94329d2b4a981d30a6b0a354440477d /dev-libs/maloc/files
parentFixed bug 311699, thanks to Kostya Sha. (diff)
downloadhistorical-fa50c619fd0c6329b50fbf62909fd1a81ad4e2ec.tar.gz
historical-fa50c619fd0c6329b50fbf62909fd1a81ad4e2ec.tar.bz2
historical-fa50c619fd0c6329b50fbf62909fd1a81ad4e2ec.zip
USE=-mpi should not include mpi-code
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/maloc/files')
-rw-r--r--dev-libs/maloc/files/0.2.1-mpi.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-libs/maloc/files/0.2.1-mpi.patch b/dev-libs/maloc/files/0.2.1-mpi.patch
new file mode 100644
index 000000000000..824752bdbeb8
--- /dev/null
+++ b/dev-libs/maloc/files/0.2.1-mpi.patch
@@ -0,0 +1,24 @@
+diff --git a/configure.ac b/configure.ac
+index ab7726e..0208780 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -381,12 +381,14 @@ AC_SUBST(rl_inc)
+ dnl # ----------------------
+ dnl # HANDLE THE MPI LIBRARY
+ dnl # ----------------------
++mpi_use="";
+ AC_MSG_CHECKING([whether you want MPI])
+-AC_ARG_ENABLE(mpi,
+- [ --enable-mpi enable MPI layer [[default=no]]],
+- [ mpi_use="yes" ],
+- [ mpi_use="" ]
+-)
++AC_ARG_ENABLE([mpi],
++ AS_HELP_STRING([--enable-mpi enable MPI layer [[default=no]]]))
++
++AS_IF([test "x$enable_mpi" = "xyes"], [
++ mpi_use="yes"
++])
+ mpi_lib="";
+ mpi_inc="";
+ if test -z "${mpi_use}"; then