From owner-cvs-ports@FreeBSD.ORG Sun Mar 21 15:10:45 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED55F16A4CE; Sun, 21 Mar 2004 15:10:45 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA64843D39; Sun, 21 Mar 2004 15:10:45 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (cd41c92a560068a322faf85a87a821ce@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i2LN9f5R023790; Sun, 21 Mar 2004 15:09:41 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 86A3352145; Sun, 21 Mar 2004 15:10:41 -0800 (PST) Date: Sun, 21 Mar 2004 15:10:41 -0800 From: Kris Kennaway To: "David O'Brien" Message-ID: <20040321231041.GB56703@xor.obsecurity.org> References: <200403170818.i2H8IFYU008824@repoman.freebsd.org> <20040317112344.GB86662@dragon.nuxi.com> <20040317182432.GA96023@dragon.nuxi.com> <20040320195311.GB89343@dragon.nuxi.com> <20040321170130.GB159@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="61jdw2sOBCFtR2d/" Content-Disposition: inline In-Reply-To: <20040321170130.GB159@dragon.nuxi.com> User-Agent: Mutt/1.4.2.1i cc: cvs-ports@FreeBSD.org cc: Gerald Pfeifer cc: cvs-all@FreeBSD.org cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/lang/gcc34 Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 23:10:46 -0000 --61jdw2sOBCFtR2d/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 21, 2004 at 09:01:30AM -0800, David O'Brien wrote: > On Sun, Mar 21, 2004 at 11:54:05AM +0100, Gerald Pfeifer wrote: > > On Sat, 20 Mar 2004, David O'Brien wrote: > > > Actually this is a bug in your pkg-plist. I just tested this with yo= ur > > > latest commits (Makefile rev 1.166, pkg-plist rev 1.55). This patch > > > (which I just committed) makes the existing breakage obvious: > > > > > > @dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%% > > > +@dirrm libexec/gcc/%%GNU_HOST%% > > > +@dirrm libexec/gcc > > > %%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar > >=20 > > Won't this break if more than gcc3x port has been installed? >=20 > Nope. When one 'pkg_delete' they'll just get a warning that the > directory couldn't be removed. AFAIK that is the prefered behavior vs. > potentially leaving behind an empty directory. The usual solution to shared directories is to attempt the removal and fail silently. @unexec rmdir %D/share/doc/HTML 2>/dev/null || true Kris --61jdw2sOBCFtR2d/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAXiDxWry0BWjoQKURAtMjAKCRNKMibhvvuwpNts/2Z6+9RbG5zACgtqgS ecaX0CKIYZ+W3gBZrxccS80= =VAJ2 -----END PGP SIGNATURE----- --61jdw2sOBCFtR2d/--