gcc-4.1 snapshot and Java AWT
Gerald Pfeifer
gerald at pfeifer.com
Thu Jul 14 00:09:37 GMT 2005
On Fri, 1 Jul 2005, NAKATA Maho wrote:
> I'm a newbie of gcc-4.1 (lang/gcc41).
> with gcj/gij, I'm trying to compile OOo with gcj/gij but in vain.
Unfortunately, I'm not really a GCJ expert either, but if the following
patch helps you, please go ahead and commit it.
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/lang/gcc41/Makefile,v
> retrieving revision 1.216
> diff -u -r1.216 Makefile
> --- Makefile 26 Jun 2005 11:44:16 -0000 1.216
> +++ Makefile 1 Jul 2005 02:59:44 -0000
> @@ -72,6 +72,10 @@
> .if defined(WITH_FORTRAN)
> CONFIGURE_ARGS+= --with-gmp=${LOCALBASE}
> .endif
> +.if defined(WITH_JAVA_AWT)
> +USE_X11= yes
> +CONFIGURE_ARGS+= --enable-java-awt=gtk2,xlib --enable-gtk-cairo=yes
> +.endif
> MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
> .if defined(WANT_SHAREDLIBS)
> CONFIGURE_ARGS+= --enable-shared
Cheers,
Gerald
More information about the freebsd-ports
mailing list