From nobody@FreeBSD.org  Fri Oct 28 21:59:37 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E9BC4106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Oct 2011 21:59:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D98C48FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Oct 2011 21:59:37 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9SLxbJQ055270
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Oct 2011 21:59:37 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p9SLxbwN055269;
	Fri, 28 Oct 2011 21:59:37 GMT
	(envelope-from nobody)
Message-Id: <201110282159.p9SLxbwN055269@red.freebsd.org>
Date: Fri, 28 Oct 2011 21:59:37 GMT
From: "4720@hushmail.com" <4720@hushmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] fix devel/avr-binutils with WITHOUT_NLS
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         162117
>Category:       ports
>Synopsis:       [patch] fix devel/avr-binutils with WITHOUT_NLS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 22:00:37 UTC 2011
>Closed-Date:    Wed Dec 14 19:58:33 UTC 2011
>Last-Modified:  Wed Dec 14 20:00:27 UTC 2011
>Originator:     4720@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
avr-binutils has only a build-time dependency on gettext, but it is needed during runtime as well. normally the bison dependency pulls in gettext as a permanent depend, but this doesn't happen if WITHOUT_NLS is set.

ldd /usr/local/avr/bin/as
/usr/local/avr/bin/as:
        libintl.so.9 => not found (0x0)
        libiconv.so.3 => not found (0x0)
        libz.so.5 => /lib/libz.so.5 (0x8006f6000)
        libc.so.7 => /lib/libc.so.7 (0x80080b000)
>How-To-Repeat:

>Fix:
attached patch changes build-only gettext depend to permanent depend.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/avr-binutils/Makefile,v
retrieving revision 1.52
diff -u -r1.52 Makefile
--- Makefile	23 Sep 2011 22:21:50 -0000	1.52
+++ Makefile	28 Oct 2011 21:48:17 -0000
@@ -20,7 +20,7 @@
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_GETTEXT=	build
+USE_GETTEXT=	yes
 CONFIGURE_ARGS=	--target=avr
 GNU_CONFIGURE=	yes
 LDFLAGS+=	-L${LOCALBASE}/lib


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->joerg 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Oct 28 22:00:48 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162117 
Responsible-Changed-From-To: joerg->crees 
Responsible-Changed-By: crees 
Responsible-Changed-When: Mon Nov 28 20:48:14 UTC 2011 
Responsible-Changed-Why:  
Timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162117 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Wed Dec 14 19:58:32 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=162117 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/162117: commit references a PR
Date: Wed, 14 Dec 2011 19:58:28 +0000 (UTC)

 crees       2011-12-14 19:58:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/avr-binutils   Makefile 
   Log:
   Fix dependency on gettext; runtime needed too
   
   PR:             ports/162117
   Submitted by:   4720
   Approved by:    joerg via email
   
   Revision  Changes    Path
   1.53      +2 -2      ports/devel/avr-binutils/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
