diff options
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 | 43 |
1 files changed, 43 insertions, 0 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 new file mode 100644 index 000000000000..d663389db9bb --- /dev/null +++ b/dev-libs/libindicate/files/libindicate-0.4.91-optional-mono.patch @@ -0,0 +1,43 @@ +--- configure.ac.orig 2011-01-29 21:02:19.646030407 +0100 ++++ configure.ac 2011-01-29 21:12:00.156516831 +0100 +@@ -91,6 +91,12 @@ + # Check for Mono support + ########################### + ++AC_ARG_ENABLE([mono], ++ AC_HELP_STRING([--disable-mono], [Disable Mono bindings generation]), ++ [enable_mono=$enableval], [enable_mono=auto]) ++AM_CONDITIONAL([WANT_MONO], [test "x$enable_mono" != "xno"]) ++ ++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) + +@@ -141,6 +147,7 @@ + AC_SUBST(GAPI_CODEGEN) + AC_PATH_PROG(GAPI_FIXUP, gapi2-fixup, no) + AC_SUBST(GAPI_FIXUP) ++]) + + ########################### + # 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 @@ ++if WANT_MONO ++MONO_SUBDIR = mono ++endif ++ +-SUBDIRS = mono python ++SUBDIRS = $(MONO_SUBDIR) python + |