Date: Mon, 8 Nov 2010 09:04:06 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/152040: [patch] editors/vim remove gettext autodetection, respect WITHOUT_NLS instead Message-ID: <201011080904.oA8946Qa097337@www.freebsd.org> Resent-Message-ID: <201011080910.oA89A6oB062754@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152040 >Category: ports >Synopsis: [patch] editors/vim remove gettext autodetection, respect WITHOUT_NLS instead >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 08 09:10:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alex Kozlov >Release: RELENG_8 >Organization: private >Environment: >Description: Remove gettext autodetection, respect WITHOUT_NLS instead. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: editors/vim/Makefile @@ -57,8 +57,11 @@ MLINKS+= vim.1 gvim.1 vim.1 gview.1 vimdiff.1 gvimdiff.1 \ vim.1 rgvim.1 vim.1 rgview.1 evim.1 eview.1 .endif + +.if !defined(WITHOUT_NLS) MANLANG= "" ru.KOI8-R ru.UTF-8 pl.ISO8859-2 pl.UTF-8 pl fr.ISO8859-1 \ fr.UTF-8 fr it.ISO8859-1 it.UTF-8 it +.endif .if defined(PACKAGE_BUILDING) && !defined(LITE) WITH_CSCOPE= yes @@ -104,7 +107,12 @@ .if !defined(LITE) MAKE_ARGS+= CONF_OPT_FEAT="--with-features=big" I18N= CONF_OPT_MULTIBYTE="--enable-multibyte --enable-fontset --enable-xim" + +.if !defined(WITHOUT_NLS) USE_GETTEXT= yes +.else +MAKE_ARGS+= CONF_OPT_NLS="--disable-nls" +.endif .if defined(NO_GUI) || defined(WITHOUT_GUI) WITHOUT_X11= yes @@ -175,9 +183,6 @@ .if exists(${LOCALBASE}/lib/libiconv.so) USE_ICONV= yes .endif -.if exists(${LOCALBASE}/lib/libintl.so) -USE_GETTEXT= yes -.endif .if defined(WITH_EXUBERANT_CTAGS) CTAGS_CMD= exctags -R . >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011080904.oA8946Qa097337>