ports/162117: [patch] fix devel/avr-binutils with WITHOUT_NLS

4720 at hushmail.com 4720 at hushmail.com
Fri Oct 28 22:00:38 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list