From owner-freebsd-ports Mon Dec 3 9: 0:13 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1B9CF37B419 for ; Mon, 3 Dec 2001 09:00:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fB3H03E03082; Mon, 3 Dec 2001 09:00:03 -0800 (PST) (envelope-from gnats) Received: from hronir.scardini.com (dsl-209-162-215-176.easystreet.com [209.162.215.176]) by hub.freebsd.org (Postfix) with ESMTP id 9E62D37B405 for ; Mon, 3 Dec 2001 08:53:57 -0800 (PST) Received: from tlon.lan.scardini.com (tlon.lan.scardini.com [192.168.2.2]) by hronir.scardini.com (8.11.6/8.11.6) with ESMTP id fB3Grpo16746 for ; Mon, 3 Dec 2001 08:53:52 -0800 (PST) (envelope-from chrise@hronir.lan.scardini.com) Received: (from chrise@localhost) by tlon.lan.scardini.com (8.11.6/8.11.6) id fB3Grp897010; Mon, 3 Dec 2001 08:53:51 -0800 (PST) (envelope-from chrise) Message-Id: <200112031653.fB3Grp897010@tlon.lan.scardini.com> Date: Mon, 3 Dec 2001 08:53:51 -0800 (PST) From: Christopher Elkins Reply-To: Christopher Elkins To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32475: java/jython Makefile assumes current directory is in CLASSPATH Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32475 >Category: ports >Synopsis: java/jython Makefile assumes current directory is in CLASSPATH >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 03 09:00:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Christopher Elkins >Release: FreeBSD 4.4-RELEASE i386 >Organization: >Environment: System: FreeBSD tlon.lan.scardini.com 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Nov 30 17:22:23 PST 2001 chrise@tlon.lan.scardini.com:/usr/src/sys/compile/TLON i386 >Description: The do-install target in the Makefile assumes the current directory ('.') is in the CLASSPATH. If it isn't, attempting to install the port fails with the following error message (using java/linux-jdk13): Exception in thread "main" java.lang.NoClassDefFoundError: jython-21a3 >How-To-Repeat: Verify that '.' is not contained in the CLASSPATH environment variable. Do a 'make install' of the port. >Fix: diff -c -r jython.orig/Makefile jython/Makefile *** jython.orig/Makefile Mon Dec 3 08:30:39 2001 --- jython/Makefile Mon Dec 3 08:46:11 2001 *************** *** 29,35 **** PLIST_SUB+= JYTHON_DIR=${INST_TARGET} do-install: ! cd ${DISTDIR} && ${JAVA} ${DISTNAME} -o ${JYTHON_PREFIX} ${INST_PACKAGES} cd ${JYTHON_PREFIX} && ./jython Lib/compileall.py Lib/ # symbolic links for convenience --- 29,35 ---- PLIST_SUB+= JYTHON_DIR=${INST_TARGET} do-install: ! cd ${DISTDIR} && ${JAVA} -classpath . ${DISTNAME} -o ${JYTHON_PREFIX} ${INST_PACKAGES} cd ${JYTHON_PREFIX} && ./jython Lib/compileall.py Lib/ # symbolic links for convenience >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message