summaryrefslogtreecommitdiff
path: root/app-editors/bluefish/files/bluefish-2.2.9-charmap_configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/bluefish/files/bluefish-2.2.9-charmap_configure.patch')
-rw-r--r--app-editors/bluefish/files/bluefish-2.2.9-charmap_configure.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-editors/bluefish/files/bluefish-2.2.9-charmap_configure.patch b/app-editors/bluefish/files/bluefish-2.2.9-charmap_configure.patch
new file mode 100644
index 000000000000..0e97e38c59f5
--- /dev/null
+++ b/app-editors/bluefish/files/bluefish-2.2.9-charmap_configure.patch
@@ -0,0 +1,29 @@
+--- bluefish-2.2.9/configure.ac
++++ bluefish-2.2.9/configure.ac
+@@ -504,7 +504,15 @@
+ AC_MSG_RESULT([no])
+ fi
+
++AC_ARG_WITH(
++ [charmap],
++ AC_HELP_STRING(
++ [--with-charmap],
++ [Build the charmap plugin if gucharmap is available @<:@default=yes@:>@]
++ )
++)
+
++if test "x$with_charmap" != "xno"; then
+ # optionally build the charmap plugin if gucharmap is available
+ AC_MSG_NOTICE([checking for optional libgucharmap development files])
+ if test "x$with_gtk3" != "xno"; then
+@@ -544,6 +552,10 @@
+ )]
+ )
+ fi
++else
++ build_charmap_plugin=no
++ AC_MSG_WARN([Disabling the building of the charmap plugin.])
++fi
+ AM_CONDITIONAL([ENABLE_CHARMAP_PLUGIN], [test "x$build_charmap_plugin" = "xyes"])
+
+ AC_SEARCH_LIBS([log10], [m])