Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2010 03:14:41 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Yuriy Grishin <grishin-mailing-lists@minselhoz.samara.ru>
Cc:        freebsd-ports@freebsd.org
Subject:   (no subject)
Message-ID:  <790a9fff1001110114i7252ce3dh862930e810b73e92@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
2010/1/10 Yuriy Grishin <grishin-mailing-lists@minselhoz.samara.ru>:
> Hi all,
>
> Right after the installation process there is a backup directory (that is
> empty yet) relevant to the prefix.
> After typing
>
> #make package
>
> there is a .tbz appears.
> I don't know the reason but there is no backup directory in it.
> On the other hand, pkg-plist does include backup, so if I try to
>
> #make deinstall
>
> it can't find the directory and stops (couldn't find a ...../backup.
> Incorrectly specified huh?)
> The strange thing is that if you type
> #cd /usr/ports/www/sams && make install clean
> ....
> #pkg_delete sams-1.0.5,1
>
> there are no warnings!
> How to fix this?
> OR
> Can I skip the warning and go ahead submitting the upgrade?
>
You should fix the port, so that the package will contain the backup
directory.  Add the following to the pkg-plist:

@exec mkdir -p %D/%%DATADIR%%/backup

Scot



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