CFT: print/pdftk port compiled with Java compiler from gcc 4.5

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Mon May 10 00:08:55 UTC 2010


Gerald Pfeifer <gerald at 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 at scphys.kyoto-u.ac.jp


More information about the freebsd-ports mailing list