[PATCH] devel/glib-java: fix build with Jikes

Herve Quiroz hq at freebsd.org
Thu Apr 27 08:07:21 UTC 2006

>Submitter-Id:	current-users
>Originator:	Herve Quiroz
>Confidential:	no 
>Synopsis:	[PATCH] devel/glib-java: fix build with Jikes
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.1-PRERELEASE i386
System: FreeBSD arabica.esil.univ-mrs.fr 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Wed Mar  1 10:26:16 CET

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 at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63

--- 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
 CONFIGURE_ARGS=	--without-gcj-compile
 CONFIGURE_ENV=	CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd"
 PKGMESSAGE=		${WRKDIR}/pkg-message
+# Jikes related
 	${MKDIR} ${PREFIX}/lib
--- glib-java-0.2.4_1.patch ends here ---

More information about the freebsd-gnome mailing list