summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Git-Wrapper/Git-Wrapper-0.47.0-r1.ebuild (renamed from dev-perl/Git-Wrapper/Git-Wrapper-0.47.0.ebuild)11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-perl/Git-Wrapper/Git-Wrapper-0.47.0.ebuild b/dev-perl/Git-Wrapper/Git-Wrapper-0.47.0-r1.ebuild
index c6964a0471f..bc2693e5b6e 100644
--- a/dev-perl/Git-Wrapper/Git-Wrapper-0.47.0.ebuild
+++ b/dev-perl/Git-Wrapper/Git-Wrapper-0.47.0-r1.ebuild
@@ -14,6 +14,7 @@ KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
+ dev-vcs/git
virtual/perl-File-Temp
dev-perl/File-chdir
virtual/perl-IPC-Cmd
@@ -34,3 +35,13 @@ DEPEND="${RDEPEND}
virtual/perl-Test-Simple
)
"
+src_compile() {
+ perl-module_src_compile
+ local MODULES=(
+ "Git::Wrapper ${DIST_VERSION}"
+ )
+ for dep in "${MODULES[@]}"; do
+ perl -Mblib="${S}" -M"${dep} ()" -e1 ||
+ die "Could not load ${dep}"
+ done
+}