From: Greg Larkin on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tsurutani Naoki wrote:
> Thank you for your fix.
> pdftk can be built and executed with gcc42.
> however, it requires gcc42 when we run pdftk.
> we need some kinds of
> RUN_DEPENDS= ${LOCALBASE}/lib/gcc${CSUFF}/libgcj.so:${PORTSDIR}/lang/gcc${CSUFF}
> in print/pdftk/Makefile, I think.
>
>
> ---
> Tsurutani Naoki
> turutani(a)scphys.kyoto-u.ac.jp

Hi Tsurutani,

I'm waiting for approval on a patch to gcc45 that adds Java support so I
can commit the updated pdftk port that compiles with gcj45. I know that
this will cause problems with your LANG setting, but you can work around
it by building like this:

cd /usr/ports/print/pdftk && make _USE_GCC=4.2 USE_GCC=4.2 install clean

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL2cpJ0sRouByUApARAmwIAJ95WbBaLbQdBXOAm4a35Xpnorb2gACgstoT
lOOc0MgGQoTGtl75PgV3mr0=
=oKAH
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Gerald Pfeifer on
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
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Tsurutani Naoki on
Gerald Pfeifer <gerald(a)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(a)scphys.kyoto-u.ac.jp
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Gerald Pfeifer on
On Mon, 10 May 2010, Tsurutani Naoki wrote:
>> I just had an idea -- how about the patch below to allow pdftk to build
>> also in a LANG=ja_JP.eucJP setting?
> It works fine on my host !
> Thank you !!

Excellent, thank you for the confirmation!

Greg, do you approve? (This addresses fifty percent of my open PRs. ;-)

Gerald
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Greg Larkin on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerald Pfeifer wrote:
> On Mon, 10 May 2010, Tsurutani Naoki wrote:
>>> I just had an idea -- how about the patch below to allow pdftk to build
>>> also in a LANG=ja_JP.eucJP setting?
>> It works fine on my host !
>> Thank you !!
>
> Excellent, thank you for the confirmation!
>
> Greg, do you approve? (This addresses fifty percent of my open PRs. ;-)
>
> Gerald

That's OK with me. Thanks for figuring it out!

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/ - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL7eFK0sRouByUApARAvwbAKCM6nwM5erVX6ILll2IDrDfUEAYiQCgx9oQ
LbH93YbalxkbsXBCTz6ZlcE=
=aDTw
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"