tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Supporting GCC_REQ+=7 as well as GCC_REQ+=7.0



Am 09.10.2018 um 19:14 schrieb David Brownlee:
> On Tue, 9 Oct 2018 at 14:20, Greg Troxel <gdt%lexort.com@localhost> wrote:
>> I would like to deprecate and eventually remove 7.x and make only 7
>> legit (similary 5 and 6).  But the removal is less important, especially
>> if pkglint warns on the longer forms.
> 
> 'tis done :)

pkglint can automatically replace the longer versions with their shorter
equivalent, starting with version 5.6.5:

$ pkglint -fs emulators/mame
WARN: emulators/mame/Makefile:22: GCC version numbers should
      only contain the major version (5).
AUTOFIX: emulators/mame/Makefile:22: Replacing "5.3" with "5".
-       GCC_REQD+=              5.3
+       GCC_REQD+=              5
0 errors and 1 warning found.
(Run "pkglint -e" to show explanations.)
(Run "pkglint -F" to automatically fix some issues.)


Home | Main Index | Thread Index | Old Index