1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

The single NLS file (ru.po) is broken with the new gettext. Given the

absence of any updates to this port, make USE_GETTEXT a no-op for now.
This commit is contained in:
Ade Lovett 2007-03-17 22:38:27 +00:00
parent 9c86ca102f
commit 2110a9d81d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187611

View File

@ -19,7 +19,7 @@ RUN_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
CONFLICTS= mc-4.6*
OPTIONS= NLS "Enable gettext support" on \
OPTIONS= NLS "Enable gettext support (broken)" on \
SUBSHELL "Build with subshell support (only for bash!)" off \
MC_IN_MC "Allow run mc inside mc (useful for mcedit)" off
@ -43,13 +43,14 @@ MAN8= mcserv.8
CONFIGURE_ARGS+=--without-subshell
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
# 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
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
# XXX: .endif
.if defined(WITH_MC_IN_MC)
CONFIGURE_ENV+= CPPFLAGS=-DMC_IN_MC_ALLOWED