Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 10:40:54 +0200
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        java@FreeBSD.ORG, znerd@FreeBSD.ORG
Subject:   Re: linux-sun-jdk14 build is interactive
Message-ID:  <20030311104054.A92908@phantom.cris.net>
In-Reply-To: <20030310215305.GB75956@rot13.obsecurity.org>; from kris@obsecurity.org on Mon, Mar 10, 2003 at 01:53:05PM -0800
References:  <20030310215305.GB75956@rot13.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 10, 2003 at 01:53:05PM -0800, Kris Kennaway wrote:
> http://bento.freebsd.org/errorlogs/i386-4-latest/linux-sun-jdk-1.4.1_2.log
> 
> Warning, 260MB log file full of:
> 
> Do you agree to the above license terms? [yes or no] 
> 
> Do you agree to the above license terms? [yes or no] 
> 
> :-)
> 
> Looks like the same problem as was fixed on some of the other jdk
> ports.  This is necessary before we can build the jdk14 package.
> 
> Kris

I think you need something like that.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/java/linux-sun-jdk14/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- Makefile	7 Mar 2003 06:04:43 -0000	1.26
+++ Makefile	11 Mar 2003 09:10:09 -0000
@@ -23,10 +23,6 @@
 NO_CDROM=	"License does not allow distribution with fee"
 RESTRICTED=	"Redistribution of repackaged binaries not permitted"
 
-EXTRACT_CMD=		# empty
-EXTRACT_BEFORE_ARGS=	# empty
-EXTRACT_AFTER_ARGS=	# empty
-
 WRKSRC=		${WRKDIR}/j2sdk${DL_JDK_VERSION}
 PLIST_SUB+=	T=${APP_HOME:S/^${PREFIX}\///} PORTVERSION=${PORTVERSION}
 
@@ -49,8 +45,12 @@
 pre-everything::
 	@${CAT} ${PKGMESSAGE}
 
-post-fetch:
-	@${CHMOD} +x ${DISTDIR}/${DISTFILES}
+do-extract:
+	@${MKDIR} ${WRKDIR}
+	@cd ${WRKDIR} \
+	&& ${TAIL} +276 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/install.sfx \
+	&& ${CHMOD} +x ${WRKDIR}/install.sfx \
+	&& ${WRKDIR}/install.sfx > /dev/null
 
 post-patch:
 	${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f

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




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