[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38206: pkglint: check for INSTALLATIONS_DIRS or AUTO_MKDIRS presense is needed
The following reply was made to PR pkg/38206; it has been noted by GNATS.
From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: Tobias Nygren <tnn%NetBSD.org@localhost>
Subject: Re: pkg/38206: pkglint: check for INSTALLATIONS_DIRS or AUTO_MKDIRS
presense is needed
Date: Mon, 10 Mar 2008 21:51:18 +0200
>> Lots of packages have one common problem - they didn't not set
>> INSTALLATION_DIRS and AUTO_MKDIRS valiable properly.
>> This bug becomes critical when DESTDIR building.
>> It whould be great if pkglint will check this
>> unless these directories will ALWAYS be created automatically
>> without setting extra variables.
> Exactly what you want pkglint to check?
if META_PACKAGE=yes is found in Makefile
elsif AUTO_MKDIRS=yes is found in Makefile
elsif INSTALLATION_DIRS is found in Makefile
Packages that do not set META_PACKAGE and don't install any files/dirs
can easily be fixed.
> Packages are supposed to create their directories without any of the
> above set, and most packages do.
Best regards, Aleksey Cheusov.
Main Index |
Thread Index |