Date: Tue, 12 Jan 2010 09:37:32 +0400 From: Yuriy Grishin <grishin-mailing-lists@minselhoz.samara.ru> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: [www/sams] #make package doesn't stick an empty dir. Message-ID: <4B4C0A9C.5050905@minselhoz.samara.ru> In-Reply-To: <790a9fff1001110114i7252ce3dh862930e810b73e92@mail.gmail.com> References: <790a9fff1001110114i7252ce3dh862930e810b73e92@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Scot Hetzel wrote: > 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 > > Thanks, it works! -- Yuriy Grishin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4C0A9C.5050905>