Date: 04 Feb 2000 13:21:51 +0100 From: Dag-Erling Smorgrav <des@yes.no> To: ports@freebsd.org Subject: [PATCH] java/jdk should use tar --unlink Message-ID: <xzpk8klyx7k.fsf@des.follo.net>
next in thread | raw e-mail | index | archive | help
--=-=-= GNATS is down due to hub's disk trouble, so my PR bounced. Here's a copy. DES -- Dag-Erling Smorgrav - des@yes.no --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Received: from des.follo.net (des.follo.net [195.204.143.216]) by builder.freebsd.org (Postfix) with ESMTP id 7F98B3F1C for <FreeBSD-gnats-submit@freebsd.org>; Fri, 4 Feb 2000 04:12:29 -080= MIME-Version: 1.0 Received: (from des@localhost) by des.follo.net (8.9.3/8.9.3) id NAA04445; Fri, 4 Feb 2000 13:12:42 +0100 (CET) (envelope-from des) Date: Fri, 4 Feb 2000 13:12:42 +0100 (CET) From: Dag-Erling Sm=F8rgrav <des@yes.no> Message-Id: <200002041212.NAA04445@des.follo.net> To: FreeBSD-gnats-submit@freebsd.org Subject:=20 Reply-To: des@yes.no X-send-pr-version: 3.2 Sender: des@des.follo.net MIME-Version: 1.0 >Submitter-Id: current-users >Originator: Dag-Erling Sm=F8rgrav >Organization: Yes Interactive >Confidential: no >Synopsis: [PATCH] java/jdk should use tar --unlink >Severity: non-critical >Priority: low >Category: ports >Release: FreeBSD 4.0-CURRENT i386 >Class: sw-bug >Environment:=20 ports-current >Description:=20 The do-install target for java/jdk uses tar to copy files from ${WRKSRC} to the installation directory. 'make reinstall' emits error messages because tar can't overwrite symlinks unless --unlink is specified. >How-To-Repeat:=20 # cd /usr/ports/java/jdk # make install # make reinstall >Fix:=20 Apply the following patch: Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/java/jdk/Makefile,v retrieving revision 1.28 diff -u -r1.28 Makefile --- Makefile 1999/11/10 00:18:20 1.28 +++ Makefile 2000/02/04 12:08:49 @@ -33,6 +33,6 @@ do-install: ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} (cd ${WRKSRC} && tar -c -f - .) \ - | (cd ${PREFIX}/jdk${JDK_VERSION} && tar fx -) + | (cd ${PREFIX}/jdk${JDK_VERSION} && tar --unlink -x -f -) =20 .inc= lude <bsd.port.post.mk> --=-=-=-- 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?xzpk8klyx7k.fsf>