Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2010 09:08:50 +0900
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        Gerald Pfeifer <gerald@pfeifer.com>
Cc:        Greg Larkin <glarkin@FreeBSD.org>, 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:  <201005100008.AA01294@POLYMER5.scphys.kyoto-u.ac.jp>
In-Reply-To: <alpine.LSU.1.99.1005091528410.18670@pulcherrima.dbai.tuwien.ac.at>
References:  <alpine.LSU.1.99.1005091528410.18670@pulcherrima.dbai.tuwien.ac.at>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerald Pfeifer <gerald@pfeifer.com> wrote:

> 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

It works fine on my host !
Thank you !!


--- 
Tsurutani Naoki
turutani@scphys.kyoto-u.ac.jp



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