From owner-freebsd-ports@FreeBSD.ORG Sun Apr 11 11:21:50 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E156616A4CE for ; Sun, 11 Apr 2004 11:21:49 -0700 (PDT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC42043D1F for ; Sun, 11 Apr 2004 11:21:49 -0700 (PDT) (envelope-from erob@videotron.ca) Received: from videotron.ca ([24.202.95.92]) by VL-MO-MR010.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HW000EU4QYK1B@VL-MO-MR010.ip.videotron.ca> for freebsd-ports@freebsd.org; Sun, 11 Apr 2004 13:20:44 -0500 (EST) Date: Sun, 11 Apr 2004 14:21:05 -0400 From: Etienne Robillard In-reply-to: <20040324022723.GA4544@moo.holy.cow> To: gerald@pfeifer.com Message-id: <40798C91.1040708@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=------------enigF41D92636019DEBF8CD5EADB; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 0.5 (X11/20040406) X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime References: <200402271110.i1RBArT5061902@freefall.freebsd.org> <200402281119.11188.erob@videotron.ca> <20040321044639.GA86534@moo.holy.cow> <20040324022723.GA4544@moo.holy.cow> cc: kris@obsecurity.org cc: freebsd-ports@freebsd.org Subject: Re: ports/63427: [lang/gcc33] Disabling the Java frontend at compile time X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2004 18:21:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF41D92636019DEBF8CD5EADB Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Parv wrote: > in message , > wrote Gerald Pfeifer thusly... > >>On Sat, 20 Mar 2004, Parv wrote: >> >>>Would not placing the %%LIBJAVA%% suffix inside some of the gcj* >>>binaries work? >>Yes, but in that case we should add a WITHOUT_JAVA knob which then >>also implies WITHOUT_LIBJAVA. > > > Right you are. Agree. Yup. > Done :) see below. > >>my main focus now is to get >> http://people.freebsd.org/~fenner/errorlogs/gerald@freebsd.org.html >>down to zero failures > > ... > >>Still, if someone provides a fully tested patch after the >>currently remaining issues with the gcc3x ports have been >>resolved, I'm definitely willing to strongly consider that patch. > > > No problem; i will try to provide a patch after that. > > Though i always check the cvs logs, at least for gcc3x ports, please > somebody remind me in case i forget when the time comes. > > > - Parv > Hi guys, Here's a diff for building/packing gcc-3.3.4 with both --enable-languages and --disable-libgcj turned on. --- Makefile.old Sun Apr 11 12:47:07 2004 +++ Makefile Sun Apr 11 13:34:51 2004 @@ -94,6 +94,16 @@ MAN7= fsf-funding.7 gfdl.7 gpl.7 INFO= cpp cppinternals g77 gcc gccint gcj fastjar + +OPTIONS= JAVA "Enable Java support (implies WITH_LIBJAVA=yes)" on + +.if defined(WITH_JAVA) +WITHOUT_LIBJAVA= "" +.else +WITHOUT_LIBJAVA= true +CONFIGURE_ARGS+= --enable-languages=c,c++,f77,objc +.endif + .if defined(WITHOUT_LIBJAVA) CONFIGURE_ARGS+= --disable-libgcj PLIST_SUB+= LIBJAVA="@comment " Ain't that GUI Options screen cool ? :-) I thought it was, but feel free to remove it if it causes any troubles.. Here's the pkg-plist: --- pkg-plist.old Sun Apr 11 09:37:40 2004 +++ pkg-plist Sun Apr 11 12:39:41 2004 @@ -9,16 +9,16 @@ bin/%%GNU_HOST%%-gcc-%%GCC_VER%% bin/%%GNU_HOST%%-gcc33 bin/%%GNU_HOST%%-g++33 -bin/%%GNU_HOST%%-gcj33 +%%LIBJAVA%%bin/%%GNU_HOST%%-gcj33 bin/gccbug33 -bin/gcj33 -bin/gcjh33 +%%LIBJAVA%%bin/gcj33 +%%LIBJAVA%%bin/gcjh33 %%LIBJAVA%%bin/gij33 -bin/jv-scan33 -bin/jcf-dump33 +%%LIBJAVA%%bin/jv-scan33 +%%LIBJAVA%%bin/jcf-dump33 %%LIBJAVA%%bin/jv-convert33 -bin/jar33 -bin/grepjar33 +%%LIBJAVA%%bin/jar33 +%%LIBJAVA%%bin/grepjar33 There's still some minimal glitches about info files, namely gcj and fastjar. I'm sure this is not a problem. One more thing, I didn't had time to test _with_ (default settings) the JAVA knob. So maybe this is still early, since Gerald wanted to clear out bugs before adding stuff. Thanks, Etienne > gcc33 -v Reading specs from /usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.4/specs Configured with: ./..//gcc-3.3-20040322/configure --disable-nls --with-system-zlib --program-suffix=33 --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-portbld-freebsd4.9/3.3.4/include/c++/ --disable-shared --enable-languages=c,c++,f77,objc --disable-libgcj --prefix=/usr/local i386-portbld-freebsd4.9 Thread model: posix gcc version 3.3.4 20040322 (prerelease) [FreeBSD] --------------enigF41D92636019DEBF8CD5EADB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAeYyUwi4xwWEgKqERAgWHAJ9WGK0Q00/rbsD8YlWCoOYLZlz7WQCfd+fY 6eCp12Uab3ruxQU/hccbfA8= =a/W0 -----END PGP SIGNATURE----- --------------enigF41D92636019DEBF8CD5EADB--