aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Lukas Peterson <hazelnusse@gmail.com>2014-09-15 14:34:08 -0700
committerDale Lukas Peterson <hazelnusse@gmail.com>2014-09-15 14:38:27 -0700
commit5f9a85124afb7066b30fe10a74bd1cb24a6a7ec4 (patch)
treefdb88b9e683d481d485ce32b65c8c775557027ee /dev-cpp
parentsci-misc/elmer-gui: silence repoman: add USE descriptions (diff)
downloadsci-5f9a85124afb7066b30fe10a74bd1cb24a6a7ec4.tar.gz
sci-5f9a85124afb7066b30fe10a74bd1cb24a6a7ec4.tar.bz2
sci-5f9a85124afb7066b30fe10a74bd1cb24a6a7ec4.zip
Fix bug 522602 more properly
Instead of adding src_unpack(), move vcs-snapshot to else block, thereby ensuring src_unpack() from inherit mercurial is used.
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/eigen/eigen-9999.ebuild8
1 files changed, 2 insertions, 6 deletions
diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index fa3eb94d4..24a6c7d66 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
SRC_URI=""
KEYWORDS=""
else
+ inherit vcs-snapshot
SRC_URI="
http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
@@ -20,7 +21,7 @@ else
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
-inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot
+inherit alternatives-2 cmake-utils fortran-2 multilib
DESCRIPTION="C++ template library for linear algebra"
HOMEPAGE="http://eigen.tuxfamily.org/"
@@ -50,11 +51,6 @@ RDEPEND="
!dev-cpp/eigen:0
${CDEPEND}"
-src_unpack() {
- mercurial_src_unpack
- vcs-snapshot_src_unpack
-}
-
src_prepare() {
sed -i \
-e "s:/usr:${EPREFIX}/usr:g" \