[www/sams] #make package doesn't stick an empty dir.

Yuriy Grishin grishin-mailing-lists at minselhoz.samara.ru
Tue Jan 12 05:38:17 UTC 2010


Scot Hetzel wrote:
> 2010/1/10 Yuriy Grishin<grishin-mailing-lists at 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


More information about the freebsd-ports mailing list