Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2001 17:48:23 +0200
From:      "Alexandr A. Listopad" <laa@lucky.net>
To:        ports@freebsd.org, "Alexandr A. Listopad" <laa@burka.carrier.kiev.ua>
Subject:   Re: patch to micq lang/russian.h
Message-ID:  <20010322174823.A88983@burka.carrier.kiev.ua>
In-Reply-To: <20010321180518.B94663@burka.carrier.kiev.ua>; from laa on Wed, Mar 21, 2001 at 06:05:18PM %2B0200
References:  <20010321180518.B94663@burka.carrier.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 21, 2001 at 06:05:18PM +0200, Alexandr A. Listopad wrote:
> Also I'll try to do some changes on this port affected to
> localisation later.

Please test and apply this patch too.


--- ports/net/micq/Makefile.orig	Thu Mar 22 16:01:53 2001
+++ ports/net/micq/Makefile	Thu Mar 22 17:44:49 2001
@@ -16,6 +16,24 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.1/-p1/}/src
 
+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>_LANG"
+	@${ECHO_MSG} 
+	@${ECHO_MSG} "Currently supported languages is:"
+	@${ECHO_MSG} "  ENGLISH_LANG,  RUSSIAN_LANG,    BULGARIAN_LANG,"
+	@${ECHO_MSG} "  POLISH_LANG,   SPANISH_LANG,    DUTCH_LANG,"
+	@${ECHO_MSG} "  SWEDISH_LANG,  CHINESE_LANG,    BRAZIL_LANG,"
+	@${ECHO_MSG} "  ITALIAN_LANG,  UKRAINIAN_LANG,  SERBOCROATIAN_LANG,"
+	@${ECHO_MSG} "  CROATIAN_LANG, INDONESIAN_LANG, FRENCH_LANG,"
+	@${ECHO_MSG} "  GERMAN_LANG,   RUSSIAN_LANG,    FINNISH_LANG"
+.else
+	@${ECHO_MSG} "#define ${WITH_MICQ_LANG}" >> \
+			${WRKSRC}/../include/config.h
+.endif
+
 do-install:
 		${INSTALL_PROGRAM} ${WRKSRC}/micq ${PREFIX}/bin
 .if !defined(NOPORTDOCS)


Thanks.

-- 
 Alexandr Listopad,			http://www.lucky.net/~laa
 Lucky.Net Kiev, Ukraine		tel (8044)2388823/2054455

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?20010322174823.A88983>