Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 23:22:44 +0200 (CEST)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181409: Fixup print/texinfo when WITHOUT=NLS
Message-ID:  <20130819212244.47C4214269C@aragorn.in.absolight.net>
Resent-Message-ID: <201308192130.r7JLU1fp031220@freefall.freebsd.org>

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

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



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