cvs commit: ports/lang/gcc34 Makefile

Kris Kennaway kris at obsecurity.org
Sun Mar 21 15:10:46 PST 2004


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 your
> > > 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%%
> > >  + at dirrm libexec/gcc/%%GNU_HOST%%
> > >  + at dirrm libexec/gcc
> > >   %%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
> > 
> > Won't this break if more than gcc3x port has been installed?
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20040321/025f31ea/attachment.bin


More information about the cvs-ports mailing list