Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 07:52:53 -0800 (PST)
From:      Christopher Elkins <chrise@scardini.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        noway@nohow.demon.co.uk
Subject:   ports/35080: Allow JDK version to be overridden in java/javamail port
Message-ID:  <200202181552.g1IFqr252199@uqbar.lan.scardini.com>

next in thread | raw e-mail | index | archive | help

>Number:         35080
>Category:       ports
>Synopsis:       Allow JDK version to be overridden in java/javamail port
>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 Feb 18 08:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Christopher Elkins
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
>Environment:
System: FreeBSD uqbar 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Jan 28 14:31:56 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
Use of JDK 1.1.8 is hard-coded in the Makefile. Short of editing the file,
there is no way to override it to use the actual installed JDK.
>How-To-Repeat:
	
>Fix:

diff -ruN javamail.orig/Makefile javamail/Makefile
--- javamail.orig/Makefile	Mon Feb 18 07:31:53 2002
+++ javamail/Makefile	Mon Feb 18 07:32:05 2002
@@ -18,7 +18,7 @@
 USE_ZIP=	YES
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-JDK_VERSION=	1.1.8
+JDK_VERSION?=	1.1.8
 NO_BUILD=	yes
 NO_CDROM=	"See the license"
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202181552.g1IFqr252199>