summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/mpich2')
-rw-r--r--sys-cluster/mpich2/ChangeLog7
-rw-r--r--sys-cluster/mpich2/Manifest18
-rw-r--r--sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild86
-rw-r--r--sys-cluster/mpich2/mpich2-1.0.3.ebuild20
-rw-r--r--sys-cluster/mpich2/mpich2-1.0.6.ebuild128
5 files changed, 137 insertions, 122 deletions
diff --git a/sys-cluster/mpich2/ChangeLog b/sys-cluster/mpich2/ChangeLog
index c391816ca334..ccae77d37372 100644
--- a/sys-cluster/mpich2/ChangeLog
+++ b/sys-cluster/mpich2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/mpich2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.30 2008/07/28 20:19:28 pchrist Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/ChangeLog,v 1.31 2008/09/03 07:33:41 opfer Exp $
+
+ 03 Sep 2008; Christian Faulhammer <opfer@gentoo.org> mpich2-1.0.3.ebuild,
+ mpich2-1.0.3-r1.ebuild, mpich2-1.0.6.ebuild:
+ replace virtual/tetex with virtual/latex-base and remove unnecessary
+ COPYRIGHT file installation
28 Jul 2008; Panagiotis Christopoulos <pchrist@gentoo.org> metadata.xml:
Update metadata.xml to include USE flag descriptions. Entries taken from
diff --git a/sys-cluster/mpich2/Manifest b/sys-cluster/mpich2/Manifest
index f2cfda98f883..aae9f799990a 100644
--- a/sys-cluster/mpich2/Manifest
+++ b/sys-cluster/mpich2/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX mpd.conf 48 RMD160 289de9bb40759e3f71229cf47e4d2af83703a85f SHA1 244eee76dbf4ff269e4489d5cc7c3577c6c1fa6b SHA256 ae740cacaf2cb798921cb2092f5af98de67445e27af3f88858f3e6d2bbb127f4
AUX mpich2-1.0.3-make-test.patch 741 RMD160 b139d5c92e35c888dba1d196b118c9e4d334cc90 SHA1 98084a742311957e5f4ddb086bd5be868d6f60c5 SHA256 1b4c7ed94504779ec87cabdb6238210545eb7fb352729a39c3cce1bb0df62c67
AUX mpich2-1.0.3-make.patch 4524 RMD160 1b4d1aaaafacb688ae0118714a36ec12b60e97b6 SHA1 d4466adebd1b7fbd26daed9317a75ba2d6ae9c7c SHA256 6180fa27369462b0d6fdcdf35a02401d7fc0b7bc1856bdf104ddf74c0de233f1
@@ -10,8 +13,15 @@ AUX mpich2-1.0.6-no-pvfs2.patch 1014 RMD160 627224ce6f4093ef5624107d53211b4de9c4
AUX mpich2-1.0.6-shlib.patch 1576 RMD160 b68da396b97cfce783e5439eb53388c96ee74bef SHA1 0f6f7f929d69ec70c5ec14a785c4388a032166b7 SHA256 32ed3e4fa4048b3efcea3db55326c89ccb50bf86d0928e6fc8b0b3e715702089
DIST mpich2-1.0.3.tar.gz 12166368 RMD160 5e7cd42f8359d81e6578d1fffca4708471e03cec SHA1 0ca48abaa98e98f0136508463886aad39ecefccb SHA256 294717fc05e9d509ed0e45c99709ddba696ad6919c47fc0801a410fe129623df
DIST mpich2-1.0.6p1.tar.gz 15437620 RMD160 c3249bec1936bd9f3de9a8bb83f29bd32b06c191 SHA1 f8acd360df0380774d74804a706ffc1022acd62e SHA256 38808f96071965c79451a8d975fe4f28454f56f27a19ce13b2aec85012521fcc
-EBUILD mpich2-1.0.3-r1.ebuild 6145 RMD160 bbd5eed17a4eacded888286c7bd548f504e9824b SHA1 49db7fcfd6b90d0ce0a046078b46668a5bf8471b SHA256 e7e912f0009019110614b6e6fc51862dc9d0cac70a4454bf3e39b43c473f1351
-EBUILD mpich2-1.0.3.ebuild 2852 RMD160 c8540446bad033ce1503046f3650d91fe7dc5309 SHA1 9a91a09837cbb18c8842eb963e9c75135d2202aa SHA256 88ba20ada9b09e95e8b321f128114022f2158cfa6865873528075f1c9b05b8f0
-EBUILD mpich2-1.0.6.ebuild 11109 RMD160 2d8c5c4772f57fe19742995bbfc3cae938106128 SHA1 bbdf894123aa06ab44f062c3297b26d5cbddbb9f SHA256 ccba0dce0b601c3dd513549bc3197bdbb634b1abb82a2d38f23773794dd2cf92
-MISC ChangeLog 7202 RMD160 449ce047c4236531be2ae09740dfae863dff0911 SHA1 d888be6602119905978b349b095649487a7d8caf SHA256 918f9e746434e0956cddade962c33d66b72224bfd92ab2281bf8da96049aea0d
+EBUILD mpich2-1.0.3-r1.ebuild 6000 RMD160 567b0c8a1490cf027360f64922bb1c7b790febfe SHA1 c3f299110632a25b820fe535523c82ef5916751e SHA256 53a1eb944df4cd7e3298c517ea9d5cd75def1630e6f5fd307d66f01b3295025c
+EBUILD mpich2-1.0.3.ebuild 2809 RMD160 2b55e1f9737baa86305da05949dbab67d47352a3 SHA1 4c1c76a39202f91f859c43647900060fba9328f4 SHA256 65b88fa53a8d68d7f8db72c74badf5f4e8925f700d9affb7c5555562b4bf3ff3
+EBUILD mpich2-1.0.6.ebuild 10906 RMD160 2352bb02c24166018cbbcd4bad9eba9ffa86597b SHA1 c9ba43c633a7bbbe0f29ceba085252ab2d1f7763 SHA256 930a4d98329b2daac7d8ea8f15299125a3c4a8c311a446e831b80aa7eade5c17
+MISC ChangeLog 7425 RMD160 66b8691c8dd21682612de3d0b57503054e7cf876 SHA1 63604b7ff5ec5adbc29a907349765419b6474cfe SHA256 b82c91b88ce0ea330660ce2f896700ebfcf01d2678119826fcd1fc0956eb17b7
MISC metadata.xml 602 RMD160 2c09f3b335878d86131b3b7a21d814ca8cb5bb8d SHA1 fca12bc927cc757301ea8050cb8d0ebe833fd655 SHA256 266b1d2fbd854e268f0c7c8e0a970cd5541e31440368e847ce971dc817799796
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAki+Pg0ACgkQNQqtfCuFneOeDgCfQWwTl5LukpaVRN4ykqTfbIE0
+Co4AoJnhFoT1AmOV7iESrAgfRrFKccOh
+=VOts
+-----END PGP SIGNATURE-----
diff --git a/sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild b/sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild
index 7239fde92e0a..1dff0d68ed56 100644
--- a/sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild,v 1.11 2008/05/29 18:07:10 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.3-r1.ebuild,v 1.12 2008/09/03 07:33:41 opfer Exp $
WANT_AUTOCONF="2.5"
inherit fortran distutils eutils autotools toolchain-funcs
@@ -37,18 +37,18 @@ pkg_setup() {
einfo "Custom configure options are ${MPICH_CONFIGURE_OPTS}."
fi
if use fortran ; then
- if [ $(gcc-major-version) -ge 4 ] \
+ if [ $(gcc-major-version) -ge 4 ] \
&& built_with_use sys-devel/gcc fortran ; then
- FORTRAN="gfortran"
- fortran_pkg_setup
- else
+ FORTRAN="gfortran"
+ fortran_pkg_setup
+ else
ewarn "You need gcc-4 built with fortran support in order to"
ewarn "build the f90 mpi interface, which is required for f90"
ewarn "and mpi support in hdf5 (for example)."
- fi
+ fi
else
- einfo "Unless you have another f90 compiler installed, we can only"
- einfo "build the f77 and C++ interfaces with gcc-3.x"
+ einfo "Unless you have another f90 compiler installed, we can only"
+ einfo "build the f77 and C++ interfaces with gcc-3.x"
fi
}
@@ -56,9 +56,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
ebegin "Reconfiguring"
- find . -name configure -print | xargs rm
- ./maint/updatefiles
- use mpe-sdk && ./src/mpe2/maint/updatefiles
+ find . -name configure -print | xargs rm
+ ./maint/updatefiles
+ use mpe-sdk && ./src/mpe2/maint/updatefiles
eend
epatch "${FILESDIR}"/${P}-make.patch || die "make patch failed"
# damn, have to patch the createshlib script here...
@@ -81,23 +81,23 @@ src_compile() {
local myconf="${MPICH_CONFIGURE_OPTS}"
if ! use debug ; then
- myconf="${myconf} --enable-fast --enable-g=none"
+ myconf="${myconf} --enable-fast --enable-g=none"
else
- myconf="${myconf} --enable-g=dbg --enable-debuginfo \
+ myconf="${myconf} --enable-g=dbg --enable-debuginfo \
--enable-error-messages=all"
fi
if ! use mpe-sdk ; then
- myconf="${myconf} --enable-graphics=no --enable-rlog=no \
+ myconf="${myconf} --enable-graphics=no --enable-rlog=no \
--enable-clog=no --enable-slog2=no"
fi
use mpe && MPE_SRC_DIR="${S}"/src/mpe2
if use threads ; then
- myconf="${myconf} --with-thread-package=pthreads"
+ myconf="${myconf} --with-thread-package=pthreads"
else
- myconf="${myconf} --with-thread-package=none"
+ myconf="${myconf} --with-thread-package=none"
fi
./configure \
@@ -121,13 +121,13 @@ src_compile() {
--datadir=/usr/share/${PN} || die "configure failed"
if use mpe-sdk ; then
- "${MPE_SRC_DIR}"/configure --prefix=/usr --enable-mpich \
+ "${MPE_SRC_DIR}"/configure --prefix=/usr --enable-mpich \
--with-mpicc=mpicc --with-mpif77=mpif77 --enable-wrappers \
--enable-collchk --with-flib_path_leader="-Wl,-L"
fi
if use mpe ; then
- epatch "${FILESDIR}"/${P}-mpe-install.patch || die "install patch failed"
+ epatch "${FILESDIR}"/${P}-mpe-install.patch || die "install patch failed"
fi
# parallel makes are currently broken, so no emake...
@@ -135,29 +135,29 @@ src_compile() {
make || die "make failed"
if has test "${FEATURES}" ; then
- # get setup for src_test
- #export LDFLAGS='-L../../lib'
- export LD_LIBRARY_PATH="${S}"/lib:$LD_LIBRARY_PATH
- cd "${S}"/test/mpi
- #make clean || die "make clean failed"
- echo
- einfo "Using ./configure --prefix="${S}" --with-mpi="${S}" --disable-f90"
- echo
- ./configure --prefix="${S}" --with-mpi="${S}" $(use_enable threads) \
- --exec-prefix="${S}" --includedir="${S}"/src/include --disable-f90 \
+ # get setup for src_test
+ #export LDFLAGS='-L../../lib'
+ export LD_LIBRARY_PATH="${S}"/lib:$LD_LIBRARY_PATH
+ cd "${S}"/test/mpi
+ #make clean || die "make clean failed"
+ echo
+ einfo "Using ./configure --prefix="${S}" --with-mpi="${S}" --disable-f90"
+ echo
+ ./configure --prefix="${S}" --with-mpi="${S}" $(use_enable threads) \
+ --exec-prefix="${S}" --includedir="${S}"/src/include --disable-f90 \
|| die "configure test failed"
- make dependencies
- # make doesn't work here for some reason, although it works fine
- # when run manually. Go figure...
- #cd ${S}/test/mpi/util
- #make all || die "make util failed"
- cd "${S}"/test
- install -g portage -o portage -m 0600 "${FILESDIR}"/mpd.conf "${HOME}"/.mpd.conf
- #${S}/bin/mpd --daemon
- make all || die "make pre-test failed"
- #cd ${S}/test/mpi
- #make || die "make test failed"
- #${S}/bin/mpdallexit
+ make dependencies
+ # make doesn't work here for some reason, although it works fine
+ # when run manually. Go figure...
+ #cd ${S}/test/mpi/util
+ #make all || die "make util failed"
+ cd "${S}"/test
+ install -g portage -o portage -m 0600 "${FILESDIR}"/mpd.conf "${HOME}"/.mpd.conf
+ #${S}/bin/mpd --daemon
+ make all || die "make pre-test failed"
+ #cd ${S}/test/mpi
+ #make || die "make test failed"
+ #${S}/bin/mpdallexit
fi
}
@@ -179,7 +179,7 @@ src_install() {
dodir /etc/${PN}
rm -rf src/mpe2/etc/*.in
make install DESTDIR="${D}" \
- LIBDIR="${D}"usr/$(get_libdir) || die "make install failed"
+ LIBDIR="${D}"usr/$(get_libdir) || die "make install failed"
dodir /usr/share/${PN}
mv "${D}"usr/examples/cpi" ${D}"usr/share/${PN}/cpi
@@ -188,13 +188,13 @@ src_install() {
dodir /usr/share/doc/${PF}
if use doc; then
- dodoc COPYRIGHT README README.romio README.testing CHANGES
+ dodoc README README.romio README.testing CHANGES
dodoc README.developer RELEASE_NOTES
newdoc src/pm/mpd/README README.mpd
else
rm -rf "${D}"usr/share/doc/
rm -rf "${D}"usr/share/man/
- dodoc README CHANGES COPYRIGHT RELEASE_NOTES
+ dodoc README CHANGES RELEASE_NOTES
fi
}
diff --git a/sys-cluster/mpich2/mpich2-1.0.3.ebuild b/sys-cluster/mpich2/mpich2-1.0.3.ebuild
index cfc4917216a6..bcb0498446d1 100644
--- a/sys-cluster/mpich2/mpich2-1.0.3.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.0.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.3.ebuild,v 1.13 2008/03/22 00:56:29 nerdboy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.3.ebuild,v 1.14 2008/09/03 07:33:41 opfer Exp $
inherit eutils autotools
@@ -33,7 +33,7 @@ src_unpack() {
unpack ${A}
cd "${S}"
ebegin "Reconfiguring"
- ./maint/updatefiles
+ ./maint/updatefiles
eend ${ret} "Reconfigure failed"
epatch "${FILESDIR}"/${P}-make.patch || die "make patch failed"
# damn, have to patch the createshlib script here...
@@ -55,15 +55,15 @@ src_compile() {
local myconf="${MPICH_CONFIGURE_OPTS}"
if ! use debug ; then
- myconf="${myconf} --enable-fast --enable-g=none"
+ myconf="${myconf} --enable-fast --enable-g=none"
else
- myconf="${myconf} --enable-g=dbg --enable-debuginfo"
+ myconf="${myconf} --enable-g=dbg --enable-debuginfo"
fi
if use threads ; then
- myconf="${myconf} --with-thread-package=pthreads"
+ myconf="${myconf} --with-thread-package=pthreads"
else
- myconf="${myconf} --with-thread-package=none"
+ myconf="${myconf} --with-thread-package=none"
fi
WANT_AUTOCONF="2.5" \
@@ -85,7 +85,7 @@ src_compile() {
--datadir=/usr/share/mpich2 || die "configure failed"
if use mpe ; then
- epatch "${FILESDIR}"/${P}-mpe-install.patch || die "install patch failed"
+ epatch "${FILESDIR}"/${P}-mpe-install.patch || die "install patch failed"
fi
make || die "make failed"
@@ -95,7 +95,7 @@ src_install() {
dodir /etc/${PN}
rm -rf src/mpe2/etc/*.in
make install DESTDIR="${D}" LIBDIR="${D}"usr/$(get_libdir) \
- || die "make install failed"
+ || die "make install failed"
dodir /usr/share/${PN}
mv "${D}"usr/examples/cpi "${D}"usr/share/${PN}/cpi
@@ -104,12 +104,12 @@ src_install() {
dodir /usr/share/doc/${PF}
if use doc; then
- dodoc COPYRIGHT README README.romio README.testing CHANGES
+ dodoc README README.romio README.testing CHANGES
dodoc README.developer RELEASE_NOTES
newdoc src/pm/mpd/README README.mpd
else
rm -rf "${D}"usr/share/doc/
rm -rf "${D}"usr/share/man/
- dodoc README CHANGES COPYRIGHT RELEASE_NOTES
+ dodoc README CHANGES RELEASE_NOTES
fi
}
diff --git a/sys-cluster/mpich2/mpich2-1.0.6.ebuild b/sys-cluster/mpich2/mpich2-1.0.6.ebuild
index 1bce55460e2f..87a7a4c00ae9 100644
--- a/sys-cluster/mpich2/mpich2-1.0.6.ebuild
+++ b/sys-cluster/mpich2/mpich2-1.0.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.6.ebuild,v 1.6 2008/05/29 18:07:10 hawking Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/mpich2/mpich2-1.0.6.ebuild,v 1.7 2008/09/03 07:33:41 opfer Exp $
WANT_AUTOCONF="2.5"
inherit autotools distutils eutils flag-o-matic fortran java-pkg-2
@@ -28,7 +28,7 @@ DEPEND="virtual/libc
pvfs2? ( >=sys-cluster/pvfs2-2.7.0 )
mpe-sdk? ( >=virtual/jdk-1.5
x11-proto/xproto )
- doc? ( virtual/tetex )"
+ doc? ( virtual/latex-base )"
RDEPEND="${DEPEND}
mpe-sdk? ( x11-libs/libX11 )
@@ -48,37 +48,37 @@ RESTRICT="test"
pkg_setup() {
if [ -n "${MPICH_CONFIGURE_OPTS}" ]; then
- elog "User-specified configure options are ${MPICH_CONFIGURE_OPTS}."
+ elog "User-specified configure options are ${MPICH_CONFIGURE_OPTS}."
else
- elog "User-specified configure options are not set."
- elog "If needed, see the docs and set MPICH_CONFIGURE_OPTS."
+ elog "User-specified configure options are not set."
+ elog "If needed, see the docs and set MPICH_CONFIGURE_OPTS."
fi
if use fortran ; then
- if [ $(gcc-major-version) -ge 4 ] \
+ if [ $(gcc-major-version) -ge 4 ] \
&& built_with_use sys-devel/gcc fortran ; then
- FORTRAN="gfortran"
- MPI_FFLAGS="-ff2c"
- fortran_pkg_setup
- else
+ FORTRAN="gfortran"
+ MPI_FFLAGS="-ff2c"
+ fortran_pkg_setup
+ else
ewarn "You need gcc-4 built with fortran support in order to"
ewarn "build the f90 mpi interface, which is required for f90"
ewarn "and mpi support in hdf5 (for example)."
FORTRAN="g77 f2c"
fortran_pkg_setup
- fi
+ fi
else
- ewarn "Unless you have another f90 compiler installed, we can only"
- ewarn "build the C and C++ interfaces with gcc-3.x"
+ ewarn "Unless you have another f90 compiler installed, we can only"
+ ewarn "build the C and C++ interfaces with gcc-3.x"
fi
if use mpe-sdk; then
- java-pkg-2_pkg_setup
- if use x86; then
+ java-pkg-2_pkg_setup
+ if use x86; then
jvmarch=i386
- else
+ else
jvmarch="${ARCH}"
- fi
+ fi
fi
}
@@ -87,9 +87,9 @@ src_unpack() {
cd "${S}"
ebegin "Reconfiguring"
- find . -name configure -print | xargs rm
- ./maint/updatefiles
- use mpe-sdk && ./src/mpe2/maint/updatefiles
+ find . -name configure -print | xargs rm
+ ./maint/updatefiles
+ use mpe-sdk && ./src/mpe2/maint/updatefiles
eend
# a few fixes for building the shared libs, PIC, etc
@@ -99,17 +99,17 @@ src_unpack() {
epatch "${FILESDIR}/${P}-makefile.patch" || die "make patch failed"
if use pvfs2; then
- sed -i -e "s:-laio:-laio -lpvfs2:g" Makefile.in \
+ sed -i -e "s:-laio:-laio -lpvfs2:g" Makefile.in \
|| die "sed pvfs2 failed"
else
- epatch "${FILESDIR}/${P}-no-pvfs2.patch" || die "no pvfs patch failed"
- elog ""
- ewarn "If you wish to build without pvfs2 support, then you will"
- ewarn "need to remove the pvfs2 package if already installed."
- ewarn "Please remove pvfs2 and then rebuild mpich2. If pvfs2"
- ewarn "is not installed, then you can safely ignore this warning."
- elog ""
- epause 5
+ epatch "${FILESDIR}/${P}-no-pvfs2.patch" || die "no pvfs patch failed"
+ elog ""
+ ewarn "If you wish to build without pvfs2 support, then you will"
+ ewarn "need to remove the pvfs2 package if already installed."
+ ewarn "Please remove pvfs2 and then rebuild mpich2. If pvfs2"
+ ewarn "is not installed, then you can safely ignore this warning."
+ elog ""
+ epause 5
fi
use mpe-sdk && setup-jvm-opts
@@ -117,9 +117,9 @@ src_unpack() {
src_compile() {
if use crypt ; then
- RSHCOMMAND="ssh -x"
+ RSHCOMMAND="ssh -x"
else
- RSHCOMMAND="rsh"
+ RSHCOMMAND="rsh"
fi
export RSHCOMMAND
@@ -133,27 +133,27 @@ src_compile() {
filter-flags -fomit-frame-pointer
if ! use debug ; then
- myconf="${myconf} --enable-g=none"
+ myconf="${myconf} --enable-g=none"
else
- myconf="${myconf} --enable-g=dbg,mem,log --enable-debuginfo"
+ myconf="${myconf} --enable-g=dbg,mem,log --enable-debuginfo"
fi
if ! use mpe-sdk ; then
- myconf="${myconf} --enable-rlog=no --enable-slog2=no"
+ myconf="${myconf} --enable-rlog=no --enable-slog2=no"
fi
if use threads ; then
- myconf="${myconf} --with-thread-package=pthreads"
+ myconf="${myconf} --with-thread-package=pthreads"
else
- myconf="${myconf} --with-thread-package=none"
+ myconf="${myconf} --with-thread-package=none"
fi
# enable f90 support for appropriate compilers
case "${FORTRANC}" in
- gfortran|ifc|ifort|f95)
+ gfortran|ifc|ifort|f95)
myconf="${myconf} --enable-f77 --enable-f90"
;;
- g77|f77|f2c)
+ g77|f77|f2c)
myconf="${myconf} --enable-f77 --disable-f90"
;;
esac
@@ -164,11 +164,11 @@ src_compile() {
# several of these are romio-specific configure options
myconf="${myconf} --enable-aio --with-mpi=mpich2_mpi"
if use pvfs2; then
- myconf="${myconf} --with-file-system=pvfs2+nfs+ufs \
+ myconf="${myconf} --with-file-system=pvfs2+nfs+ufs \
--with-pvfs2=/usr"
else
- # support for nfs and unix-like filesystems is the minimum
- myconf="${myconf} --with-file-system=nfs+ufs --with-pvfs2=no"
+ # support for nfs and unix-like filesystems is the minimum
+ myconf="${myconf} --with-file-system=nfs+ufs --with-pvfs2=no"
fi
# enable debug for romio
use debug && myconf="${myconf} --enable-debug"
@@ -177,25 +177,25 @@ src_compile() {
# I'm sure there's a better way to do this...
if use cxx; then
- tc-export CPP CC CXX LD
- CXXLIBPATH="/usr/$(get_libdir)/gcc/${CHOST}/$(gcc-fullversion)"
- sed -i -e "s:nerdboy:${CXXLIBPATH}:g" Makefile.in \
+ tc-export CPP CC CXX LD
+ CXXLIBPATH="/usr/$(get_libdir)/gcc/${CHOST}/$(gcc-fullversion)"
+ sed -i -e "s:nerdboy:${CXXLIBPATH}:g" Makefile.in \
|| die "sed 3 failed"
fi
if use doc; then
- doc_conf="--docdir=/usr/share/doc/${PF} \
+ doc_conf="--docdir=/usr/share/doc/${PF} \
--with-docdir=/usr/share/doc/${PF} \
--with-htmldir=/usr/share/doc/${PF}/html \
--with-pdfdir=/usr/share/doc/${PF} \
--with-psdir=/usr/share/doc/${PF}"
else
- doc_conf="--with-docdir=/usr/share/doc/${PF} \
+ doc_conf="--with-docdir=/usr/share/doc/${PF} \
--with-htmldir=/usr/share/doc/${PF}/html"
fi
if use mpe-sdk; then
- mpe_conf="--with-java=${JDK_TOPDIR} --with-java2=${JDK_TOPDIR} \
+ mpe_conf="--with-java=${JDK_TOPDIR} --with-java2=${JDK_TOPDIR} \
--enable-slog2=build \
--with-mpicc=\"${WORKDIR}\"/build/bin/mpicc \
--with-mpif77=\"${WORKDIR}\"/build/bin/mpif77 \
@@ -204,12 +204,12 @@ src_compile() {
--with-flib_path_leader=-Wl,-L --enable-mpich \
--enable-misc --enable-callstack --enable-logging"
- use debug && mpe_conf="${mpe_conf} --enable-g"
+ use debug && mpe_conf="${mpe_conf} --enable-g"
- sed -i -e "s:fpic:fPIC:g" \
+ sed -i -e "s:fpic:fPIC:g" \
src/mpe2/src/slog2sdk/trace_sample/configure \
|| die "sed 1 failed"
- sed -i -e "s:fpic:fPIC:g" \
+ sed -i -e "s:fpic:fPIC:g" \
src/mpe2/src/slog2sdk/trace_rlog/configure \
|| die "sed 2 failed"
fi
@@ -259,9 +259,9 @@ src_test() {
export MPIO_USER_PATH="${TEST}"/t1
sed -i -e "s:/usr/bin/mpiexec:${TEST}/bin/mpiexec:g" test/mpi/Makefile \
- || die "sed 4 failed"
+ || die "sed 4 failed"
sed -i -e "s:/usr:${TEST}:g" test/commands/cmdtests \
- || die "sed 5 failed"
+ || die "sed 5 failed"
cd test
make clean || die "make clean in test failed"
@@ -273,9 +273,9 @@ src_test() {
export LD_LIBRARY_PATH="${TEST}/lib:$LD_LIBRARY_PATH"
"${S}"/configure \
- --exec-prefix="${TEST}" --with-mpi="${TEST}" \
- --disable-f90 --with-mpich2="${TEST}" $(use_enable threads) \
- || die "configure test failed"
+ --exec-prefix="${TEST}" --with-mpi="${TEST}" \
+ --disable-f90 --with-mpich2="${TEST}" $(use_enable threads) \
+ || die "configure test failed"
nice --adjustment=3 make testing || die "make testing failed"
@@ -289,7 +289,7 @@ src_install() {
cd ../build
make DESTDIR="${D}" LIBDIR="${D}"usr/$(get_libdir) install \
- || die "make install failed"
+ || die "make install failed"
cd "${S}"
@@ -298,18 +298,18 @@ src_install() {
dodir /usr/share/doc/"${PF}"
if use doc; then
- dodoc COPYRIGHT README README.romio README.testing CHANGES
- dodoc README.developer RELEASE_NOTES
- newdoc src/pm/mpd/README README.mpd
+ dodoc README README.romio README.testing CHANGES
+ dodoc README.developer RELEASE_NOTES
+ newdoc src/pm/mpd/README README.mpd
- if use mpe-sdk; then
+ if use mpe-sdk; then
dodoc src/mpe2/src/slog2sdk/README.sdk \
- src/mpe2/src/slog2sdk/README.rte
+ src/mpe2/src/slog2sdk/README.rte
newdoc src/mpe2/src/slog2sdk/FAQ FAQ.sdk
- fi
+ fi
else
- rm -rf "${D}"usr/share/doc/"${PF}"/{html,*.pdf}
- dodoc README CHANGES COPYRIGHT RELEASE_NOTES
+ rm -rf "${D}"usr/share/doc/"${PF}"/{html,*.pdf}
+ dodoc README CHANGES RELEASE_NOTES
fi
# Tidy up a bit