ports/181409: Fixup print/texinfo when WITHOUT=NLS
Mathieu Arnold
mat at FreeBSD.org
Mon Aug 19 21:30:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list