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

Gerald Pfeifer gerald at pfeifer.com
Mon Apr 12 13:19:25 UTC 2010


On Fri, 9 Apr 2010, Gerald Pfeifer wrote:
> As for the lang/gcc42 issue, I have an idea of how to fix that and will 
> give it try now and share the patch if it works for me.

The patch below passes testing for me, and I consider it The Right
Thing[TM] directionally, too.  The two actual changes are the
addition of --with-as=/usr/bin/as and --with-ld=/usr/bin/ld.

I have not committed it yet, but am planning on doing so and 
definitely am interested in whether this changes (improves) things
for you.

That said, please do not stop on moving from GCC 4.2 to GCC 4.4 when
it comes to Java, even in case this patch works for you. :-)

Gerald

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/gcc42/Makefile,v
retrieving revision 1.356
diff -r1.356 Makefile
56,60c56
< CONFIGURE_ARGS+=	--disable-nls \
< 		--with-system-zlib \
< 		--with-libiconv-prefix=${LOCALBASE} \
< 		--with-gmp=${LOCALBASE} \
< 		--program-suffix=${SUFFIX} \
---
> CONFIGURE_ARGS+=--disable-nls \
63c59,65
< 		--with-gxx-include-dir=${TARGLIB}/include/c++/
---
> 		--program-suffix=${SUFFIX} \
> 		--with-as=/usr/bin/as \
> 		--with-gmp=${LOCALBASE} \
> 		--with-gxx-include-dir=${TARGLIB}/include/c++/ \
> 		--with-ld=/usr/bin/ld \
> 		--with-libiconv-prefix=${LOCALBASE} \
> 		--with-system-zlib


More information about the freebsd-ports mailing list