Date: Sun, 21 Mar 2004 15:10:41 -0800 From: Kris Kennaway <kris@obsecurity.org> To: "David O'Brien" <obrien@FreeBSD.org> Cc: ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/lang/gcc34 Makefile Message-ID: <20040321231041.GB56703@xor.obsecurity.org> In-Reply-To: <20040321170130.GB159@dragon.nuxi.com> References: <200403170818.i2H8IFYU008824@repoman.freebsd.org> <Pine.BSF.4.58.0403171036060.94079@acrux.dbai.tuwien.ac.at> <Pine.BSF.4.58.0403171135480.94079@acrux.dbai.tuwien.ac.at> <20040317112344.GB86662@dragon.nuxi.com> <20040317182432.GA96023@dragon.nuxi.com> <Pine.BSF.4.58.0403190206360.94079@acrux.dbai.tuwien.ac.at> <20040320195311.GB89343@dragon.nuxi.com> <Pine.BSF.4.58.0403211135080.41186@acrux.dbai.tuwien.ac.at> <20040321170130.GB159@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040321231041.GB56703>