diff options
author | az <az@FreeBSD.org> | 2007-08-15 01:29:10 +0800 |
---|---|---|
committer | az <az@FreeBSD.org> | 2007-08-15 01:29:10 +0800 |
commit | 490576444aac2c00270cc20bd7541b2393897db4 (patch) | |
tree | 01047a6302367e11958fb02e6d0a42eca1e745fe /misc/mc-light | |
parent | 72539cd8a962c25fb4a79766e82caf451713e121 (diff) | |
download | freebsd-ports-gnome-490576444aac2c00270cc20bd7541b2393897db4.tar.gz freebsd-ports-gnome-490576444aac2c00270cc20bd7541b2393897db4.tar.zst freebsd-ports-gnome-490576444aac2c00270cc20bd7541b2393897db4.zip |
- Try build port with NLS support and recent version of gettext.
Diffstat (limited to 'misc/mc-light')
-rw-r--r-- | misc/mc-light/Makefile | 13 | ||||
-rw-r--r-- | misc/mc-light/files/patch-po-ru.po | 24 |
2 files changed, 30 insertions, 7 deletions
diff --git a/misc/mc-light/Makefile b/misc/mc-light/Makefile index 629b0b98b36f..477862dfd711 100644 --- a/misc/mc-light/Makefile +++ b/misc/mc-light/Makefile @@ -19,7 +19,7 @@ RUN_DEPENDS+= gawk:${PORTSDIR}/lang/gawk CONFLICTS= mc-4.6* -OPTIONS= NLS "Enable gettext support (broken)" on \ +OPTIONS= NLS "Enable gettext support" on \ SUBSHELL "Build with subshell support (only for bash!)" off \ MC_IN_MC "Allow run mc inside mc (useful for mcedit)" off @@ -43,14 +43,13 @@ MAN8= mcserv.8 CONFIGURE_ARGS+=--without-subshell .endif -# XXX: ru.po is broken with gettext-0.16.1 -# XXX: .if !defined(WITHOUT_NLS) -# XXX: USE_GETTEXT= yes -# XXX: PLIST_SUB+= NLS="" -# XXX: .else +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " -# XXX: .endif +.endif .if defined(WITH_MC_IN_MC) CONFIGURE_ENV+= CPPFLAGS=-DMC_IN_MC_ALLOWED diff --git a/misc/mc-light/files/patch-po-ru.po b/misc/mc-light/files/patch-po-ru.po new file mode 100644 index 000000000000..61aee5a0dd3a --- /dev/null +++ b/misc/mc-light/files/patch-po-ru.po @@ -0,0 +1,24 @@ +--- po/ru.po.orig Mon Aug 30 23:55:58 2004 ++++ po/ru.po Tue Aug 14 21:17:35 2007 +@@ -875,7 +875,7 @@ + + #: src/fixhlp.c:181 + msgid "" +-"[Contents]\n" ++"[Contents]\n" + " Topics:\n" + "\n" + msgstr "" +@@ -2404,10 +2404,10 @@ + #: src/help.c:278 + msgid "" + " Help file format error\n" +-"" ++"" + msgstr "" + "Ошибка в формате файла помощи\n" +-"" ++"" + + #: src/help.c:317 + msgid " Internal bug: Double start of link area " |