diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-12 20:43:08 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-12 20:43:08 +0000 |
commit | e4bc9971edfd29cc352e3bb1d258a1ee8f0e13e3 (patch) | |
tree | 252412c08bc555202baf9ac28e079e3edb63e8b6 /eclass | |
parent | New eclass. (diff) | |
download | historical-e4bc9971edfd29cc352e3bb1d258a1ee8f0e13e3.tar.gz historical-e4bc9971edfd29cc352e3bb1d258a1ee8f0e13e3.tar.bz2 historical-e4bc9971edfd29cc352e3bb1d258a1ee8f0e13e3.zip |
Typo: s/VALA_API_VERSION/version/
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/vala.eclass | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 5b3a38042466..75f07cc19516 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.394 2012/09/12 20:22:39 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.395 2012/09/12 20:43:08 tetromino Exp $ + + 12 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> vala.eclass: + Typo: s/VALA_API_VERSION/version/ 12 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> +vala.eclass: New eclass. diff --git a/eclass/vala.eclass b/eclass/vala.eclass index f609003ab181..1f803d40b9e6 100644 --- a/eclass/vala.eclass +++ b/eclass/vala.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vala.eclass,v 1.1 2012/09/12 20:22:39 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vala.eclass,v 1.2 2012/09/12 20:43:08 tetromino Exp $ # @ECLASS: vala.eclass # @MAINTAINER: @@ -98,10 +98,10 @@ vala_src_prepare() { export VALAC=$(type -P valac-${version}) - valafoo=$(type -P vala-gen-introspect-${VALA_API_VERSION}) + valafoo=$(type -P vala-gen-introspect-${version}) [[ ${valafoo} ]] && export VALA_GEN_INTROSPECT=$(type -P vala-gen-introspect-${version}) - valafoo=$(type -P vapigen-${VALA_API_VERSION}) + valafoo=$(type -P vapigen-${version}) [[ ${valafoo} ]] && export VAPIGEN="${valafoo}" valafoo="${EPREFIX}/usr/share/vala/Makefile.vapigen" @@ -112,8 +112,8 @@ vala_src_prepare() { mkdir -p "${T}/pkgconfig" || die "mkdir failed" for p in libvala vapigen; do for d in "${EPREFIX}/usr/$(get_libdir)/pkgconfig" "${EPREFIX}/usr/share/pkgconfig"; do - if [[ -e ${d}/${p}-${VALA_API_VERSION}.pc ]]; then - ln -s "${d}/${p}-${VALA_API_VERSION}.pc" "${T}/pkgconfig/${p}.pc" || die "ln failed" + if [[ -e ${d}/${p}-${version}.pc ]]; then + ln -s "${d}/${p}-${version}.pc" "${T}/pkgconfig/${p}.pc" || die "ln failed" break fi done |