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:
parent
b406264cd7
commit
fd6d723154
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197679
@ -19,7 +19,7 @@ RUN_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
|
|||||||
|
|
||||||
CONFLICTS= mc-4.6*
|
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 \
|
SUBSHELL "Build with subshell support (only for bash!)" off \
|
||||||
MC_IN_MC "Allow run mc inside mc (useful for mcedit)" off
|
MC_IN_MC "Allow run mc inside mc (useful for mcedit)" off
|
||||||
|
|
||||||
@ -43,14 +43,13 @@ MAN8= mcserv.8
|
|||||||
CONFIGURE_ARGS+=--without-subshell
|
CONFIGURE_ARGS+=--without-subshell
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# XXX: ru.po is broken with gettext-0.16.1
|
.if !defined(WITHOUT_NLS)
|
||||||
# XXX: .if !defined(WITHOUT_NLS)
|
USE_GETTEXT= yes
|
||||||
# XXX: USE_GETTEXT= yes
|
PLIST_SUB+= NLS=""
|
||||||
# XXX: PLIST_SUB+= NLS=""
|
.else
|
||||||
# XXX: .else
|
|
||||||
CONFIGURE_ARGS+=--disable-nls
|
CONFIGURE_ARGS+=--disable-nls
|
||||||
PLIST_SUB+= NLS="@comment "
|
PLIST_SUB+= NLS="@comment "
|
||||||
# XXX: .endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_MC_IN_MC)
|
.if defined(WITH_MC_IN_MC)
|
||||||
CONFIGURE_ENV+= CPPFLAGS=-DMC_IN_MC_ALLOWED
|
CONFIGURE_ENV+= CPPFLAGS=-DMC_IN_MC_ALLOWED
|
||||||
|
24
misc/mc-light/files/patch-po-ru.po
Normal file
24
misc/mc-light/files/patch-po-ru.po
Normal 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 "
|
Loading…
Reference in New Issue
Block a user