Date: Mon, 25 Oct 2010 17:01:25 GMT From: Arseny Nasokin <eirnym@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/151719: [PATCH] Lack of NLS option in devel/gmake Message-ID: <201010251701.o9PH1PnL045397@www.freebsd.org> Resent-Message-ID: <201010251710.o9PHA7j0069551@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151719 >Category: ports >Synopsis: [PATCH] Lack of NLS option in devel/gmake >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 Oct 25 17:10:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Arseny Nasokin >Release: FreeBSD-CURRENT >Organization: >Environment: # New ports collection makefile for: GNU make # Date created: 11 September 1994 # Whom: jkh # # $FreeBSD: ports/devel/gmake/Makefile,v 1.68 2010/05/31 01:58:12 ade Exp $ >Description: devel/gmake port will depend on devel/gettext if you don't explicitly specify WITHOUT_NLS make option. >How-To-Repeat: update ports tree, go to devel/gmake to build gmake and type #make config no options to configure #grep WITHOUT_NLS Makefile .if !defined(WITHOUT_NLS) >Fix: patch attached Patch attached with submission follows: --- Makefile.orig 2010-10-25 18:39:42.986958118 +0400 +++ Makefile 2010-10-25 18:44:29.141969160 +0400 @@ -19,9 +19,12 @@ MAINTAINER= autotools@FreeBSD.org COMMENT= GNU version of 'make' utility +OPTIONS = NLS "Native Language Support" on +.include<bsd.port.options.mk> USE_BZIP2= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--program-prefix=g + .if !defined(WITHOUT_NLS) USE_GETTEXT= yes CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \ @@ -39,7 +42,7 @@ .ifdef USE_GMAKE .error You have `USE_GMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again. .endif - +.include <bsd.port.pre.mk> post-patch: @${RM} ${WRKSRC}/doc/make.info* @@ -49,4 +52,4 @@ @${CHMOD} g-s ${PREFIX}/bin/gmake @chgrp ${BINGRP} ${PREFIX}/bin/gmake -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010251701.o9PH1PnL045397>