diff options
| author | Dennis Schridde <devurandom@gmx.net> | 2011-02-05 22:41:15 +0100 |
|---|---|---|
| committer | Dennis Schridde <devurandom@gmx.net> | 2011-02-05 22:41:15 +0100 |
| commit | 2579ba6fc74c17d300b74db72182b027efdabcc8 (patch) | |
| tree | 5d8d3410b20453087ee4771770a4d712a592f9a1 /dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch | |
| parent | 890bf2bd501ac2088077d6bf4bbde6bd4a1f482e (diff) | |
| download | kde-2579ba6fc74c17d300b74db72182b027efdabcc8.tar.gz kde-2579ba6fc74c17d300b74db72182b027efdabcc8.tar.bz2 kde-2579ba6fc74c17d300b74db72182b027efdabcc8.zip | |
[dev-libs/libindicate] Improve patches based on upstream request, revbump
(Portage version: 2.2.0_alpha20/git/Linux x86_64, signed Manifest commit with key 50ED256E)
Diffstat (limited to 'dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch')
| -rw-r--r-- | dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch index 323224ad1c7..d663389db9b 100644 --- a/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch +++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch @@ -6,10 +6,10 @@ +AC_ARG_ENABLE([mono], + AC_HELP_STRING([--disable-mono], [Disable Mono bindings generation]), -+ [enable_mono=$enableval], enable_mono=auto) ++ [enable_mono=$enableval], [enable_mono=auto]) +AM_CONDITIONAL([WANT_MONO], [test "x$enable_mono" != "xno"]) + -+if test "x$enable_mono" != "xno" ; then ++AS_IF([test "x$enable_mono" != "xno"],[ MONO_REQUIRED_VERSION=1.0 PKG_CHECK_MODULES(MONO_DEPENDENCY, mono >= $MONO_REQUIRED_VERSION, has_mono=true, has_mono=false) @@ -17,10 +17,20 @@ AC_SUBST(GAPI_CODEGEN) AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) AC_SUBST(GAPI_FIXUP) -+fi ++]) ########################### # Check for Python support +@@ -273,2 +280,7 @@ +- GObject Introspection: $enable_introspection +-]) ++ GObject Introspection: $enable_introspection ++]) ++ ++AS_IF([test "x$has_mono" = "xtrue"], ++ [AC_MSG_NOTICE([ Mono bindings: yes])], ++ [AC_MSG_NOTICE([ Mono bindings: no])] ++) --- bindings/Makefile.am.orig 2011-01-29 21:10:05.095991987 +0100 +++ bindings/Makefile.am 2011-01-29 21:11:06.349142195 +0100 @@ -1,2 +1,6 @@ |
