1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

- Try build port with NLS support and recent version of gettext.

This commit is contained in:
Andrej Zverev 2007-08-14 17:29:10 +00:00
parent b406264cd7
commit fd6d723154
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197679
2 changed files with 30 additions and 7 deletions

View File

@ -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

View File

@ -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 "