gtk-sharp-module.eclass: Add support for gtk-sharp-2.12.21
authorChristoph Mende <angelos@gentoo.org>
Thu, 17 Sep 2015 17:20:39 +0000 (19:20 +0200)
committerChristoph Mende <angelos@gentoo.org>
Thu, 17 Sep 2015 19:01:06 +0000 (21:01 +0200)
eclass/gtk-sharp-module.eclass

index 262c2c1ae792668e55b7b51a4199c057ff30f90b..772cbe57343c5cbc458f31d2c3193638c6e55d8f 100644 (file)
@@ -136,7 +136,7 @@ case ${GTK_SHARP_MODULE} in
                add_depend "=dev-dotnet/gtk-sharp-${GTK_SHARP_REQUIRED_VERSION}*"
                add_depend "=dev-dotnet/gnome-sharp-2.24*"
                add_depend "gnome-base/gnome-desktop:2"
-               add_bdepend "=dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}*"
+               add_bdepend "|| ( >=dev-dotnet/gtk-sharp-2.12.21 =dev-dotnet/gtk-sharp-gapi-${GTK_SHARP_REQUIRED_VERSION}* )"
                ;;
        *)
                eerror "Huh? Sonny boy, looks like your GTK_SHARP_MODULE is not on the approved list. BAILING!"