From 96eec4c27726146b626acad6b91b395ba7135293 Mon Sep 17 00:00:00 2001 From: Dale Lukas Peterson Date: Thu, 11 Sep 2014 17:08:53 -0700 Subject: 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. --- dev-cpp/eigen/eigen-9999.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dev-cpp/eigen') 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" \ -- cgit v1.2.3-65-gdbad