Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 23:25:12 +0300 (EEST)
From:      Olexander Kunytsa <kunia@wolf.istc.kiev.ua>
To:        ports@freebsd.org
Subject:   micq 0.4.6_1: brocken native language support
Message-ID:  <Pine.LNX.4.10.KSI2.10103252305200.514-100000@wolf.istc.kiev.ua>

next in thread | raw e-mail | index | archive | help
hiya
i've founded that native language support  was brocken:

/usr/ports/net/micq/Makefile:
...
pre-configure:
.if !defined(WITH_MICQ_LANG)
        @${ECHO_MSG} "If you want to compile ${PORTNAME} with your native"
        @${ECHO_MSG} "language support:"
        @${ECHO_MSG} "make WITH_MICQ_LANG=<your_lang>"
        @${ECHO_MSG} ""
        @${ECHO_MSG} "Currently supported <your_lang> values are:"
        @${ECHO} "  "${SUP_LANGS} | /usr/bin/fmt
.else
        @${ECHO} "#define ${WITH_MICQ_LANG}_LANG" >> \
                ${WRKSRC}/../include/config.h
        @${ECHO_MSG} "Compiling ${PORTNAME} with ${WITH_MICQ_LANG}."
.endif

when WITH_MICQ_LANG is defined, 'make' goes with _two_ defines in
work/{PORTNAME}/include/config.h file:
#define ENGLISH_LANG       
#define {WITH_MICQ_LANG}_LANG
e.g 
#define UKRAINIAN_LANG

BUT, according to to include/lang.h, there are only 4 languages could be
compiled in:
#ifdef RUSSIAN_LANG
#include "russian.h"
#elif defined BULGARIAN_LANG
#include "bulgarian.h"
#elif defined POLISH_LANG
#include "polish.h"
#elif defined ENGLISH_LANG
 ^^^^
all languages after ENGLISH in include/lang.h wouldn't be aplied



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.KSI2.10103252305200.514-100000>