Bug 172149

Summary: textproc/aspell ignores NLS option
Product: Ports & Packages Reporter: Gennady Proskurin <gpr>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Gennady Proskurin 2012-09-28 19:30:08 UTC
textproc/aspell always depends on gettext, ignoring NLS option

Bug was introduced in revision 1.102
See also 1.86-1.87 patch

Fix: patch attached


Patch attached with submission follows:
How-To-Repeat: Turn off NLS option, and then:
/usr/ports/textproc/aspell % make depends
===>   aspell-0.60.6.1_2 depends on file: /usr/local/bin/perl5.14.2 - found
===>   aspell-0.60.6.1_2 depends on file: /usr/local/bin/perl5.14.2 - found
===>   aspell-0.60.6.1_2 depends on shared library: iconv.3 - found
===>   aspell-0.60.6.1_2 depends on shared library: intl - found
===>   aspell-0.60.6.1_2 depends on executable: gmake - found
===>   aspell-0.60.6.1_2 depends on file: /usr/local/bin/perl5.14.2 - found

You see intl dependency
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-28 19:30:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-09-28 20:10:19 UTC
Author: bapt
Date: Fri Sep 28 19:10:04 2012
New Revision: 305008
URL: http://svn.freebsd.org/changeset/ports/305008

Log:
  Do not depend on gettext if NLS is off
  
  PR:		ports/172149
  Submitted by:	Gennady Proskurin <gpr@mail.ru>

Modified:
  head/textproc/aspell/Makefile

Modified: head/textproc/aspell/Makefile
==============================================================================
--- head/textproc/aspell/Makefile	Fri Sep 28 18:45:58 2012	(r305007)
+++ head/textproc/aspell/Makefile	Fri Sep 28 19:10:04 2012	(r305008)
@@ -39,7 +39,6 @@ SUB_LIST=		VERINST=${VERINST}
 USE_GETTEXT=		yes
 PLIST_SUB+=		NLS=""
 .else
-USE_GETTEXT=	yes
 CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB+=		NLS="@comment "
 .endif
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2012-09-28 20:17:23 UTC
State Changed
From-To: open->closed

Committed. Thanks!