Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2011 21:59:37 GMT
From:      "4720@hushmail.com" <4720@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162117: [patch] fix devel/avr-binutils with WITHOUT_NLS
Message-ID:  <201110282159.p9SLxbwN055269@red.freebsd.org>
Resent-Message-ID: <201110282200.p9SM0c31030637@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162117
>Category:       ports
>Synopsis:       [patch] fix devel/avr-binutils with WITHOUT_NLS
>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:   Fri Oct 28 22:00:37 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110282159.p9SLxbwN055269>