Bug 181409 - Fixup print/texinfo when WITHOUT=NLS
Summary: Fixup print/texinfo when WITHOUT=NLS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-19 22:30 UTC by Mathieu Arnold
Modified: 2013-09-06 16:17 UTC (History)
0 users

See Also:


Attachments
print_texinfo.diff (659 bytes, patch)
2013-08-19 22:30 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2013-08-19 22:30:01 UTC
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
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-08-19 22:30:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-06 15:02:07 UTC
Author: johans
Date: Fri Sep  6 14:01:54 2013
New Revision: 326498
URL: http://svnweb.freebsd.org/changeset/ports/326498

Log:
  - Update texinfo.tex and texi2dvi to latest version
  - Fix build without NLS [1]
  
  PR:		ports/181409 [1]
  Submitted by:	mat

Modified:
  head/print/texinfo/Makefile
  head/print/texinfo/distinfo

Modified: head/print/texinfo/Makefile
==============================================================================
--- head/print/texinfo/Makefile	Fri Sep  6 13:53:43 2013	(r326497)
+++ head/print/texinfo/Makefile	Fri Sep  6 14:01:54 2013	(r326498)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	texinfo
-PORTVERSION=	5.1.20130809
+PORTVERSION=	5.1.20130828
 CATEGORIES=	print
 MASTER_SITES=	GNU \
 		ftp://ftp.stack.nl/pub/users/johans/texinfo/${PORTVERSION:E}/
@@ -23,8 +23,6 @@ PKGDEINSTALL=	${PKGINSTALL}
 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 @@ PLIST_SUB=	TEXMF=${TEXMF}
 .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 "

Modified: head/print/texinfo/distinfo
==============================================================================
--- head/print/texinfo/distinfo	Fri Sep  6 13:53:43 2013	(r326497)
+++ head/print/texinfo/distinfo	Fri Sep  6 14:01:54 2013	(r326498)
@@ -2,7 +2,7 @@ SHA256 (texinfo-5.1.tar.xz) = 181d802ffd
 SIZE (texinfo-5.1.tar.xz) = 3752460
 SHA256 (htmlxref.cnf) = 4e9213642a5c22757ac1831aa4515404b2955cd7be83a4ee96e11ab5b9e3de49
 SIZE (htmlxref.cnf) = 19086
-SHA256 (texinfo.tex) = d0cadc70df4b17e55601c1ff2fd40de2b4bbe2636011fd057b991071b8c73efc
-SIZE (texinfo.tex) = 324065
-SHA256 (texi2dvi) = b76136b45881e7520f127c27e8b4ec69b9213b5a9ed2b73f45b1a0504712cf08
-SIZE (texi2dvi) = 58067
+SHA256 (texinfo.tex) = 1badb4787006dc24428f4e1589f8e4b285ad4dcd21de2ee2d3436d1889f279b8
+SIZE (texinfo.tex) = 324167
+SHA256 (texi2dvi) = d42a883f2d4cce78cc785091c6055e4f724f9fca66795c7f8842dafb04ff45f5
+SIZE (texi2dvi) = 58518
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2013-09-06 16:17:18 UTC
State Changed
From-To: open->closed

That has been committed.