Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 17:00:13 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Trouble with creating a new port
Message-ID:  <200502241700.13756.ringworm01@gmail.com>
In-Reply-To: <200502241828.00175.josh@tcbug.org>
References:  <200502241735.37298.josh@tcbug.org> <200502241615.01961.ringworm01@gmail.com> <200502241828.00175.josh@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 February 2005 04:28 pm, you wrote:
> On Thursday 24 February 2005 18:15, Michael C. Shultz wrote:
> > On Thursday 24 February 2005 03:35 pm, Josh Paetzel wrote:
> > > I am trying to make a port of Epic5.  I can do make install and
> > > make deinstall fine.  I can pkg_add and pkg_delete fine as well.
> > > If I try to make install and then pkg_delete I get the following
> > > warnings:
> > >
> > > ===>  Deinstalling for irc/epic5
> > > ===>   Deinstalling epic5-0.0.3
> > > pkg_delete: file '/usr/local/share/epic5/help' doesn't really
> > > exist pkg_delete: unable to completely remove directory
> > > '/usr/local/share/epic5/help'
> > > pkg_delete: couldn't entirely delete package (perhaps the packing
> > > list is incorrectly specified?)
> >
> > Take a look in /usr/local/share/epic5/help
> > after this error and what ever file is in there
> > add to your plist.
> >
> > -Mike
>
> That's just it, there are no files there to begin with.  I'm not sure
> why that directory is even created in the first place.

You can try this:

@unexec rmdir %D/share/epic5/help 2>/dev/null || true

Then if the directory isn't there, it won't complain, but if it is there 
it will be removed

-Mike





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