Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2010 15:31:20 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        Greg Larkin <glarkin@FreeBSD.org>,  Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Cc:        Jouko_Lumij?vi <jlumijar@sun3.oulu.fi>, freebsd-ports@freebsd.org
Subject:   Re: CFT: print/pdftk port compiled with Java compiler from gcc 4.5
Message-ID:  <alpine.LSU.1.99.1005091528410.18670@pulcherrima.dbai.tuwien.ac.at>
In-Reply-To: <4BD9C8F7.4030600@FreeBSD.org>
References:  <4BC4B712.2080109@FreeBSD.org> <201004220758.AA01286@POLYMER5.scphys.kyoto-u.ac.jp> <4BD9C8F7.4030600@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I just had an idea -- how about the patch below to allow pdftk to build 
also in a LANG=ja_JP.eucJP setting?

Does this work?

Gerald

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/print/pdftk/Makefile,v
retrieving revision 1.30
diff -u -3 -p -r1.30 Makefile
--- Makefile	3 May 2010 19:56:44 -0000	1.30
+++ Makefile	9 May 2010 13:17:05 -0000
@@ -37,7 +37,7 @@ WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAM
 PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}
 
 MAKEFILE=	Makefile.Generic
-MAKE_ENV=	GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF} OBJCOPY=${OBJCOPY}
+MAKE_ENV=	GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF} OBJCOPY=${OBJCOPY} LANG=C
 
 MAN1=		${PORTNAME}.1
 PLIST_FILES=	bin/pdftk



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