aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Lukas Peterson <hazelnusse@gmail.com>2014-09-11 17:08:53 -0700
committerDale Lukas Peterson <hazelnusse@gmail.com>2014-09-11 17:14:03 -0700
commit96eec4c27726146b626acad6b91b395ba7135293 (patch)
treed4417033fb6ba18ae0ef29c8e7ac3efd14c5fb4e /dev-cpp/eigen
parentsci-biology/cutadapt: version bump (diff)
downloadsci-96eec4c27726146b626acad6b91b395ba7135293.tar.gz
sci-96eec4c27726146b626acad6b91b395ba7135293.tar.bz2
sci-96eec4c27726146b626acad6b91b395ba7135293.zip
Add src_unpack to ensure mercurial_src_unpack is called
The inheritance mechanism of ebuilds is such that functions not overridden are taken from the last package inherited. In this case, that is vcs-snapshot, which provides a src_unpack that does not clone the mercurial repository. By explicitly providing src_unpack, we guarantee that mercurial_src_unpack is called prior to vcs-snapshot_src_unpack.
Diffstat (limited to 'dev-cpp/eigen')
-rw-r--r--dev-cpp/eigen/eigen-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index 5d4d7e137..fa3eb94d4 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -50,6 +50,11 @@ 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" \