Date: Thu, 27 Apr 2006 10:07:18 +0200 (CEST) From: Herve Quiroz <hq@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gnome@FreeBSD.org Subject: ports/96401: [PATCH] devel/glib-java: fix build with Jikes Message-ID: <200604270807.k3R87I4S081874@arabica.esil.univ-mrs.fr> Resent-Message-ID: <200604270810.k3R8ACXL027465@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96401 >Category: ports >Synopsis: [PATCH] devel/glib-java: fix build with Jikes >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 27 08:10:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 6.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD arabica.esil.univ-mrs.fr 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Mar 1 10:26:16 CET >Description: When Jikes is installed on the system, the 'configure' stage fails: checking for jikes... jikes checking if jikes works... configure: error: The Java compiler jikes failed (see config.log, check the CLASSPATH?) I would prefer to have BOOTCLASSPATH set only when Jikes is present on the system but there seem to be some trouble with HAVE_JIKES in bsd.java.mk. I believe this is the same reason why other gnome/java ports (e.g. libgnome-java, libgtk-java) don't build on my system so I'll handle them next. While I was there, I just removed USE_REINPLACE (reported by portlint). Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- glib-java-0.2.4_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/devel/glib-java/Makefile,v retrieving revision 1.5 diff -u -u -r1.5 Makefile --- Makefile 15 Apr 2006 08:21:17 -0000 1.5 +++ Makefile 27 Apr 2006 07:58:23 -0000 @@ -26,12 +26,15 @@ JAVA_OS= native USE_GCC= 3.4+ USE_GNOME= gnomehack glib20 -USE_REINPLACE= yes CONFIGURE_ARGS= --without-gcj-compile CONFIGURE_ENV= CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd" GLIB_API_VERSION= 0.2 PLIST_SUB= GLIB_API_VERSION=${GLIB_API_VERSION} PORTNAME=${PORTNAME} PKGMESSAGE= ${WRKDIR}/pkg-message + +# Jikes related +CONFIGURE_ENV+= BOOTCLASSPATH=${JAVA_CLASSES} +MAKE_ENV+= BOOTCLASSPATH=${JAVA_CLASSES} do-install: ${MKDIR} ${PREFIX}/lib --- glib-java-0.2.4_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604270807.k3R87I4S081874>