ports/misc/mc/files/patch-without-nls
Max Khon 0153ccc919 - Fix build with iconv support turned off [1]
- Fix pkg-plist when built without NLS support

Submitted by:	Dimitry Andric [1]
2011-03-21 18:25:33 +00:00

25 lines
896 B
Text

--- doc/hints/Makefile.am.orig 2011-03-22 00:02:49.000000000 +0600
+++ doc/hints/Makefile.am 2011-03-22 00:03:11.000000000 +0600
@@ -1,7 +1,11 @@
HINTFILES = \
- mc.hint mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it \
+ mc.hint
+if USE_NLS
+HINTFILES += \
+ mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it \
mc.hint.nl mc.hint.pl mc.hint.ru mc.hint.sr mc.hint.uk \
mc.hint.zh
+endif
hintdir = $(pkgdatadir)/hints
hint_DATA = $(HINTFILES)
--- configure.ac.orig 2011-03-21 23:58:52.000000000 +0600
+++ configure.ac 2011-03-22 00:01:04.000000000 +0600
@@ -504,6 +504,7 @@
AM_CONDITIONAL(USE_SCREEN_SLANG, [test x"$with_screen" = xslang])
AM_CONDITIONAL(USE_EDIT, [test -n "$use_edit"])
AM_CONDITIONAL(USE_DIFF, [test -n "$use_diff"])
+AM_CONDITIONAL(USE_NLS, [test x"$USE_NLS" = xyes])
AM_CONDITIONAL(CHARSET, [test -n "$have_charset"])
AM_CONDITIONAL(CONS_SAVER, [test -n "$cons_saver"])