summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2009-01-23 19:58:46 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2009-01-23 19:58:46 +0000
commitdae378b986d4ba78f126976f06d0acab1d0f9008 (patch)
treeec922b51276542ba1c99a5da1841d07bfea893a7 /eclass
parentFix bug 254162. The /usr/bin/gapi2-codegen shell script would sometimes not b... (diff)
downloadgentoo-2-dae378b986d4ba78f126976f06d0acab1d0f9008.tar.gz
gentoo-2-dae378b986d4ba78f126976f06d0acab1d0f9008.tar.bz2
gentoo-2-dae378b986d4ba78f126976f06d0acab1d0f9008.zip
/usr/bin/gapi2-codegen shell script from gtk-sharp-gapi would sometimes not be installed because I typoed the eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gtk-sharp-module.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/gtk-sharp-module.eclass b/eclass/gtk-sharp-module.eclass
index cc299112df36..ff58975a5c94 100644
--- a/eclass/gtk-sharp-module.eclass
+++ b/eclass/gtk-sharp-module.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.11 2009/01/06 19:37:18 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.12 2009/01/23 19:58:46 loki_val Exp $
# Author : Peter Johanson <latexer@gentoo.org>, butchered by ikelos, then loki_val.
# Based off of original work in gst-plugins.eclass by <foser@gentoo.org>
@@ -78,6 +78,9 @@ gsm_get_tarball() {
}
[[ "${PN}" != "gtk-sharp-gapi" ]] && add_bdepend "=dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}*"
+[[ "${PN}" != "gtk-sharp-gapi" ]] && add_bdepend "!=dev-dotnet/gtk-sharp-gapi-2.12.7-r5"
+[[ "${PN}" != "gtk-sharp-gapi" ]] && add_bdepend "!=dev-dotnet/gtk-sharp-gapi-2.12.7-r6"
+
has "${GTK_SHARP_MODULE}" ${gnome_sharp_module_list} ${gnome_desktop_sharp_module_list} gtk-dotnet glade \
&& add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
has "${GTK_SHARP_MODULE}" gtk gdk atk pango gtk-dotnet parser \
@@ -292,7 +295,7 @@ gtk-sharp-module_src_compile() {
gtk-sharp-module_src_install() {
- cd "${GTK_SHARP_MODULE_DIR}"
+ cd "${S}/${GTK_SHARP_MODULE_DIR}"
emake DESTDIR=${D} install || die "emake install failed"
mono_multilib_comply
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"