Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 01:40:08 -0700 (PDT)
From:      Ernst de Haan <ernst@jollem.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/28137: Bad URL in java/linux-jdk14
Message-ID:  <200106150840.f5F8e8k27510@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/28137; it has been noted by GNATS.

From: Ernst de Haan <ernst@jollem.com>
To: Dave Glowacki <dglo@ssec.wisc.edu>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG,
	Maxim Sobolev <sobomax@FreeBSD.ORG>
Subject: Re: ports/28137: Bad URL in java/linux-jdk14
Date: Fri, 15 Jun 2001 10:37:45 +0200

 --vkogqOf2sHV7VnPd
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi Dave,
 (Cc: Maxim)
 
 Here's a larger diff. Thanks for pointing this out, Dave!
 
 Ernst
 
 
 Dave Glowacki wrote:
 > 
 > >Number:         28137
 > >Category:       ports
 > >Synopsis:       Bad URL in java/linux-jdk14 Makefile
 > >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:   Wed Jun 13 19:30:05 PDT 2001
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Dave Glowacki
 > >Release:        FreeBSD 4.3-STABLE i386
 > >Organization:
 > >Environment:
 > System: FreeBSD eusebius 4.3-STABLE FreeBSD 4.3-STABLE #2: Mon Jun 11 21:38:12 CDT 2001 @eusebius:/usr/src/sys/compile/EUSEBIUS i386
 > 
 > 
 > 	
 > >Description:
 > 
 > 	eusebius% make fetch
 > 	===>  linux-jdk-1.4.0beta You must manually fetch the Java 2
 > 	Development Kit 1.4.0-beta for Linux archive
 > 	(j2sdk-1_4_0-beta-linux-i386.bin) from
 > 	http://java.sun.com/j2se/1.3/download-linux.html, place it in
 > 	/usr/ports/distfiles and then run make again.
 > 
 > 	Note that the URL points to the 1.3 page.
 > 
 > >How-To-Repeat:
 > >Fix:
 > 
 > 
 > --- /usr/ports/java/linux-jdk14/Makefile	Thu May 31 20:42:18 2001
 > +++ /tmp/Makefile	Tue Jun 12 22:57:03 2001
 > @@ -40,7 +40,7 @@
 >  
 >  .for file in ${DISTFILES}
 >  .if !exists(${DISTDIR}/${file})
 > -IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again
 > +IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.4/#linux, place it in ${DISTDIR} and then run make again
 >  .endif
 >  .endfor
 >  
 > >Release-Note:
 > >Audit-Trail:
 > >Unformatted:
 > 
 > To Unsubscribe: send mail to majordomo@FreeBSD.org
 > with "unsubscribe freebsd-ports" in the body of the message
 > 
 
 -- 
 Ernst de Haan
 Java Architect
 Jollem Information Technology
 
     "Come to me all who are weary and burdened
         and I will give you rest" -- Jesus Christ
 
 --vkogqOf2sHV7VnPd
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="linux-jdk14_update.diff"
 
 diff -ruN --exclude=CVS --exclude=work /usr/ports/java/linux-jdk14/Makefile /home/ernst/freebsd-ports/java/linux-jdk14/Makefile
 --- /usr/ports/java/linux-jdk14/Makefile	Tue May 29 16:29:40 2001
 +++ /home/ernst/freebsd-ports/java/linux-jdk14/Makefile	Fri Jun 15 10:32:49 2001
 @@ -6,11 +6,12 @@
  #
  
  PORTNAME=	jdk
 -PORTVERSION=	${JDK_VERSION:S/-//g}
 +PORTVERSION=	${INSTALL_JDK_VERSION}
  CATEGORIES=	java devel
  MASTER_SITES=	#
  PKGNAMEPREFIX=	linux-
 -DISTFILES=	j2sdk-${JDK_VERSION:S/./_/g}-linux-i386.bin
 +DISTNAME=	j2sdk-${DL_JDK_VERSION:S/./_/g}-linux-i386
 +EXTRACT_SUFX=	.bin
  
  MAINTAINER=	ernst@jollem.com
  
 @@ -28,21 +29,22 @@
  EXTRACT_AFTER_ARGS=	# empty
  
  WRKSRC=		${WRKDIR}/j2sdk1.4.0
 -PLIST_SUB+=	TARGET_PREFIX=${TARGET_PREFIX:S/^${PREFIX}\///}
 +PLIST_SUB+=	TARGET_PREFIX=${TARGET_DIR:S/^${PREFIX}\///}
  
  NO_BUILD=	yes
  USE_LINUX=	yes
 -JDK_VERSION=	1.4.0-beta
 +DL_JDK_VERSION=	1.4.0-beta
 +INSTALL_JDK_VERSION=	1.4.0b1
  ONLY_FOR_ARCHS=	i386
 -TARGET_PREFIX?=	${PREFIX}/${PKGBASE}${PORTVERSION}
 +TARGET_DIR?=	${PREFIX}/${PKGBASE}${PORTVERSION}
 +DOWNLOAD_URL?=	http://java.sun.com/j2se/1.4/download-linux.html
 +PORTTITLE=	Java 2 Development Kit ${INSTALL_JDK_VERSION} for Linux
  
  .include <bsd.port.pre.mk>
  
 -.for file in ${DISTFILES}
 -.if !exists(${DISTDIR}/${file})
 -IGNORE=You must manually fetch the Java 2 Development Kit ${JDK_VERSION} for Linux archive (${DISTFILES}) from http://java.sun.com/j2se/1.3/download-linux.html, place it in ${DISTDIR} and then run make again
 +.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
 +IGNORE=You must manually fetch the ${PORTTITLE} archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
  .endif
 -.endfor
  
  post-fetch:
  	@${CHMOD} +x ${DISTDIR}/${DISTFILES}
 @@ -53,6 +55,6 @@
  do-install:
  	${MKDIR} ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION}
  	${TAR} -C ${WRKSRC} -cf- . | ${TAR} -C ${PREFIX}/${PKGNAMEPREFIX}jdk${PORTVERSION} -xpf-
 -	${LOCALBASE}/bin/registervm "${PREFIX}/linux-jdk${PORTVERSION}/bin/java # Linux-JDK${PORTVERSION}"
 +	${LOCALBASE}/bin/registervm "${TARGET_DIR}/bin/java # Linux-Sun-JDK${PORTVERSION}"
  
  .include <bsd.port.post.mk>
 
 --vkogqOf2sHV7VnPd--

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?200106150840.f5F8e8k27510>