From owner-freebsd-java@FreeBSD.ORG Mon May 16 07:31:48 2011 Return-Path: Delivered-To: java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D5FF106564A; Mon, 16 May 2011 07:31:48 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 759E78FC0A; Mon, 16 May 2011 07:31:46 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA24049; Mon, 16 May 2011 10:18:27 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1QLs4R-0003RG-4o; Mon, 16 May 2011 10:18:27 +0300 Message-ID: <4DD0CFC2.3080804@FreeBSD.org> Date: Mon, 16 May 2011 10:18:26 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110503 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: java@FreeBSD.org X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: Jung-uk Kim Subject: icedtea-web plugin as a separate port X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2011 07:31:48 -0000 I wonder why we build icedtea-web plugin as a part of java/openjdk* the way we do now. I think that perhaps it would be nicer to build it a separate port. post-build WITH_WEB looks really non-transparent. Here's what I did to build the latest version icedtea-web from hg: - hg clone http://icedtea.classpath.org/hg/icedtea-web - env INSTALL=ginstall MAKE=gmake ./configure --with-jdk-home=/usr/local/openjdk6 --prefix=/usr/local/openjdk6/jre --with-rhino=/usr/local/share/java/rhino/rhino.jar --with-junit=/usr/local/share/java/classes/junit.jar [junit, rhino (lang/rhino) and openjdk ports have to be installed obviously] - gmake - gmake install It worked/works for me. P.S. I think that rhino port should install its jar into ${PREFIX}/share/java/classes as other ports do. -- Andriy Gapon