ports/151719: [PATCH] Lack of NLS option in devel/gmake
Arseny Nasokin
eirnym at gmail.com
Mon Oct 25 17:10:08 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list