From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 19 21:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id BF8F79C8 for ; Mon, 19 Aug 2013 21:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B0AF29F0 for ; Mon, 19 Aug 2013 21:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7JLU1MC031221 for ; Mon, 19 Aug 2013 21:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7JLU1fp031220; Mon, 19 Aug 2013 21:30:01 GMT (envelope-from gnats) Resent-Date: Mon, 19 Aug 2013 21:30:01 GMT Resent-Message-Id: <201308192130.r7JLU1fp031220@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, Mathieu Arnold Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E9A2879D for ; Mon, 19 Aug 2013 21:22:51 +0000 (UTC) (envelope-from mat@aragorn.in.absolight.net) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AE7EA29B6 for ; Mon, 19 Aug 2013 21:22:49 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 9AF5BBDC5E for ; Mon, 19 Aug 2013 23:22:46 +0200 (CEST) Received: from gw.in.absolight.net (unknown [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 8B983BDC5D for ; Mon, 19 Aug 2013 23:22:45 +0200 (CEST) Received: from aragorn.in.absolight.net (aragorn.in.absolight.net [79.143.241.225]) by gw.in.absolight.net (Postfix) with ESMTP id A15D86113 for ; Mon, 19 Aug 2013 23:22:44 +0200 (CEST) Received: by aragorn.in.absolight.net (Postfix, from userid 1000) id 47C4214269C; Mon, 19 Aug 2013 23:22:44 +0200 (CEST) Message-Id: <20130819212244.47C4214269C@aragorn.in.absolight.net> Date: Mon, 19 Aug 2013 23:22:44 +0200 (CEST) From: Mathieu Arnold To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/181409: Fixup print/texinfo when WITHOUT=NLS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mathieu Arnold List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 21:30:01 -0000 >Number: 181409 >Category: ports >Synopsis: Fixup print/texinfo when WITHOUT=NLS >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 19 21:30:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 9.1-RELEASE-p4 i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.in.absolight.net 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:38:17 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: When building WITHOUT=NLS and gettext is not installed, configure fails saying : checking whether the C compiler works... no configure: error: in `/wrkdirs/usr/ports/print/texinfo/work/texinfo-5.1': configure: error: C compiler cannot create executables >How-To-Repeat: >Fix: --- print_texinfo.diff begins here --- Index: print/texinfo/Makefile =================================================================== --- print/texinfo/Makefile (revision 325017) +++ print/texinfo/Makefile (working copy) @@ -23,8 +23,6 @@ USES+= charsetfix gmake perl5 MAKE_ARGS= TEXMF=${PREFIX}/${TEXMF} -CPPFLAGS+= -I${LOCALBASE}/lib -LDFLAGS+= -L${LOCALBASE}/lib -lintl INFO= ${PORTNAME} info-stnd info MAN1= info.1 infokey.1 install-info.1 makeinfo.1 texi2dvi.1 \ @@ -39,6 +37,8 @@ .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" +CPPFLAGS+= -I${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lintl .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " --- print_texinfo.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: