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

Gerald Pfeifer gerald at pfeifer.com
Sun May 9 13:31:22 UTC 2010


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


More information about the freebsd-ports mailing list