summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-physics/clhep/ChangeLog9
-rw-r--r--sci-physics/clhep/clhep-2.0.4.2.ebuild (renamed from sci-physics/clhep/clhep-2.0.3.3.ebuild)14
-rw-r--r--sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch10
3 files changed, 13 insertions, 20 deletions
diff --git a/sci-physics/clhep/ChangeLog b/sci-physics/clhep/ChangeLog
index 10dc4a19b619..8f99e1f696b0 100644
--- a/sci-physics/clhep/ChangeLog
+++ b/sci-physics/clhep/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sci-physics/clhep
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.5 2008/08/22 14:26:15 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/ChangeLog,v 1.6 2008/12/09 12:08:12 bicatali Exp $
+
+*clhep-2.0.4.2 (09 Dec 2008)
+
+ 09 Dec 2008; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -files/clhep-2.0.3.3-gcc43.patch, -clhep-2.0.3.3.ebuild,
+ +clhep-2.0.4.2.ebuild:
+ Version bump
*clhep-2.0.4.0 (22 Aug 2008)
diff --git a/sci-physics/clhep/clhep-2.0.3.3.ebuild b/sci-physics/clhep/clhep-2.0.4.2.ebuild
index 4b78ab47df92..ee79efea2e76 100644
--- a/sci-physics/clhep/clhep-2.0.3.3.ebuild
+++ b/sci-physics/clhep/clhep-2.0.4.2.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.0.3.3.ebuild,v 1.3 2008/07/15 12:09:56 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/clhep/clhep-2.0.4.2.ebuild,v 1.1 2008/12/09 12:08:12 bicatali Exp $
-inherit autotools flag-o-matic toolchain-funcs
+inherit autotools
DESCRIPTION="High Energy Physics C++ library"
HOMEPAGE="http://www.cern.ch/clhep"
-SRC_URI="http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/${P}-src.tgz"
+SRC_URI="http://wwwasd.web.cern.ch/wwwasd/lhc++/clhep/DISTRIBUTION/distributions/${P}.tgz"
LICENSE="public-domain"
SLOT="2"
@@ -21,7 +21,6 @@ S="${WORKDIR}/${PV}/CLHEP"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc43.patch
for d in $(find . -name configure.in); do
pushd ${d/configure.in/}
# respect user flags and fix some compilers stuff
@@ -32,16 +31,13 @@ src_unpack() {
configure.in || die
# need to rebuild because original configurations
# have buggy detection
- eautoconf
+ eautoreconf
popd
done
}
src_compile() {
- # use ld LDFLAGS for intel compiler
- [[ $(tc-getCXX) = i*c ]] && \
- export LDFLAGS="$(raw-ldflags)"
- econf $(use_enable exceptions) || die "econf failed"
+ econf $(use_enable exceptions)
emake || die "emake failed"
}
diff --git a/sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch b/sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch
deleted file mode 100644
index c93a38beedfd..000000000000
--- a/sci-physics/clhep/files/clhep-2.0.3.3-gcc43.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Random/test/testRandom.cc.orig 2003-07-17 19:20:29.000000000 +0000
-+++ Random/test/testRandom.cc 2008-06-06 19:12:09.000000000 +0000
-@@ -3,6 +3,7 @@
- // ----------------------------------------------------------------------
- #include "CLHEP/Random/Randomize.h"
- #include <iostream>
-+#include <cstdlib>
-
- using std::cout;
- using std::endl;