From owner-freebsd-java@FreeBSD.ORG Mon Mar 28 10:50:11 2011 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E89C4106564A for ; Mon, 28 Mar 2011 10:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D62838FC17 for ; Mon, 28 Mar 2011 10:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2SAoBZl009041 for ; Mon, 28 Mar 2011 10:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2SAoBaw009040; Mon, 28 Mar 2011 10:50:11 GMT (envelope-from gnats) Date: Mon, 28 Mar 2011 10:50:11 GMT Message-Id: <201103281050.p2SAoBaw009040@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Eugene Grosbein Cc: Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eugene Grosbein List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 10:50:12 -0000 The following reply was made to PR ports/155381; it has been noted by GNATS. From: Eugene Grosbein To: bug-followup@FreeBSD.ORG Cc: Subject: Re: ports/155381: java/openjdk6 does not build with WEB option enabled Date: Mon, 28 Mar 2011 17:40:19 +0700 Hi! I've just found source of the problem and fixed it. I had libxul-1.9.0.14 installed. With upgrade to libxul-1.9.2.13 or later, problem goes away. I've settled with currently most recent ports version libxul-1.9.2.16. Corresponding patch for ports/java/openjdk6/Makefile follows: --- Makefile.orig 2011-03-28 17:26:06.000000000 +0700 +++ Makefile 2011-03-28 17:38:28.000000000 +0700 @@ -172,7 +172,7 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/pkg-config:${PORTSDIR}/devel/pkg-config \ ${LOCALBASE}/libdata/pkgconfig/glib-2.0.pc:${PORTSDIR}/devel/glib20 \ ${LOCALBASE}/libdata/pkgconfig/gtk+-2.0.pc:${PORTSDIR}/x11-toolkits/gtk20 \ - ${LOCALBASE}/libdata/pkgconfig/mozilla-plugin.pc:${PORTSDIR}/www/libxul + libxul>=1.9.2.13:${PORTSDIR}/www/libxul ITWEBDIR= ${WRKDIR}/icedtea-web-${ITWEBVERSION} ITWEB_JAVAC= ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/bin/javac ITWEB_JAR= ${WRKSRC}/build/${OPENJDK_OSARCH}/j2sdk-image/bin/jar