From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Oct 28 22:00:38 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E7851065674 for ; Fri, 28 Oct 2011 22:00:38 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 520748FC18 for ; Fri, 28 Oct 2011 22:00:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9SM0ccr030645 for ; Fri, 28 Oct 2011 22:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9SM0c31030637; Fri, 28 Oct 2011 22:00:38 GMT (envelope-from gnats) Resent-Date: Fri, 28 Oct 2011 22:00:38 GMT Resent-Message-Id: <201110282200.p9SM0c31030637@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "4720@hushmail.com" <4720@hushmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9BC4106564A for ; 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 ; 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 ; 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 X-Send-Pr-Version: www-3.1 Cc: Subject: ports/162117: [patch] fix devel/avr-binutils with WITHOUT_NLS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2011 22:00:38 -0000 >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: