Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jul 2005 02:09:26 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        NAKATA Maho <chat95@mac.com>
Cc:        ports@FreeBSD.org
Subject:   Re: gcc-4.1 snapshot and Java AWT
Message-ID:  <Pine.BSF.4.62.0507140208090.92848@pulcherrima.dbai.tuwien.ac.at>
In-Reply-To: <20050701.121146.41626507.chat95@mac.com>
References:  <20050701.121146.41626507.chat95@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.62.0507140208090.92848>