summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2012-03-07 10:05:04 +0100
committerMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2012-03-07 10:05:04 +0100
commit5054592bbf57c081d2b2cfa7361280ad40beb9b9 (patch)
treeaf7e65513cac0874979bca2f1608efe0b313e963
parentMerge branch 'master' of git://github.com/Keruspe/Keruspe-overlay (diff)
downloadkeruspe-5054592bbf57c081d2b2cfa7361280ad40beb9b9.tar.gz
keruspe-5054592bbf57c081d2b2cfa7361280ad40beb9b9.tar.bz2
keruspe-5054592bbf57c081d2b2cfa7361280ad40beb9b9.zip
fix vala
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--dev-lang/vala/vala-9999.ebuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/dev-lang/vala/vala-9999.ebuild b/dev-lang/vala/vala-9999.ebuild
index adbd3887..c93498be 100644
--- a/dev-lang/vala/vala-9999.ebuild
+++ b/dev-lang/vala/vala-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -18,8 +18,7 @@ IUSE="bootstrap test +vapigen"
RDEPEND=">=dev-libs/glib-2.16:2"
DEPEND="${RDEPEND}
- bootstrap? ( dev-lang/vala:0.14 )
- !bootstrap? ( dev-lang/vala:0.16 )
+ dev-lang/vala:0.16
sys-devel/flex
|| ( sys-devel/bison dev-util/byacc dev-util/yacc )
dev-util/pkgconfig
@@ -29,24 +28,18 @@ DEPEND="${RDEPEND}
>=dev-libs/glib-2.26:2 )"
pkg_setup() {
- local VER
- if use bootstrap; then
- VER=0.14
- else
- VER=0.16
- fi
G2CONF="${G2CONF}
- VALAC=$(type -P valac-${VER})
+ VALAC=$(type -P valac-0.16)
--disable-unversioned
- --disable-maintainer-mode
$(use_enable vapigen)"
DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
}
src_install() {
gnome2_src_install
- mv "${ED}"/usr/share/aclocal/vala.m4 \
- "${ED}"/usr/share/aclocal/vala-${SLOT/./-}.m4 || die "failed to move vala m4 macro"
+
+ insinto /usr/share/aclocal
+ newins vala.m4 vala-${SLOT/./-}.m4
}
pkg_postinst() {