summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-06-12 08:14:07 +0200
committerJeroen Roovers <jer@gentoo.org>2016-06-12 08:14:27 +0200
commitc75345af0abbef52fcb1b89eac8b710a7d0efcae (patch)
tree8a146442d4bc4e8b1ad557d31415055173ed322c
parentdev-python/phonenumbers: Version bump (diff)
downloadgentoo-c75345af0abbef52fcb1b89eac8b710a7d0efcae.tar.gz
gentoo-c75345af0abbef52fcb1b89eac8b710a7d0efcae.tar.bz2
gentoo-c75345af0abbef52fcb1b89eac8b710a7d0efcae.zip
dev-libs/cl: Replace "git" with PV (bug #585590 by Oleg).
Package-Manager: portage-2.3.0_rc1
-rw-r--r--dev-libs/cl/cl-1.2.1.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/cl/cl-1.2.1.ebuild b/dev-libs/cl/cl-1.2.1.ebuild
index 8dbad115069..ec56ff88531 100644
--- a/dev-libs/cl/cl-1.2.1.ebuild
+++ b/dev-libs/cl/cl-1.2.1.ebuild
@@ -3,7 +3,7 @@
# $Header: /var/cvsroot/gentoo-x86/media-libs/esdl/esdl-1.2.ebuild,v 1.1 2013/02/12 14:41:54 george Exp $
EAPI=6
-inherit eutils fixheadtails multilib
+inherit eutils multilib
DESCRIPTION="OpenCL bindings for Erlang"
HOMEPAGE="https://github.com/tonyrog/cl"
@@ -22,6 +22,12 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${P}
+src_prepare() {
+ sed -i -e "s|git|\"${PV}\"|" src/cl.app.src || die
+
+ eapply_user
+}
+
src_compile() {
rebar compile || die
}