Le 04/10/2016 à 09:29, Eitan Adler a écrit : > On 4 October 2016 at 00:25, Mathieu Arnold <m...@freebsd.org> wrote: >> Le 04/10/2016 à 03:58, Montgomery-Smith, Stephen a écrit : >>> On 10/03/2016 07:34 AM, Eitan Adler wrote: >>>> On 3 October 2016 at 05:31, Montgomery-Smith, Stephen >>>> <step...@missouri.edu> wrote: >>>>> On 10/02/2016 05:27 PM, Eitan Adler wrote: >>>>>> On 2 October 2016 at 14:44, Montgomery-Smith, Stephen >>>>>> <step...@missouri.edu> wrote: >>>>>>> So I have a couple of ports, science/cdf and graphics/opendx, which have >>>>>>> licenses I can't find in Mk/bsd.licenses.db.mk. How do I set LICENSE in >>>>>>> those ports? >>>>>> The other answers are correct. If the license is standard (listed >>>>>> here: https://spdx.org/licenses/) we should add it to the main >>>>>> database. >>>>>> >>>>>>> An even tougher one is math/octave-forge-optim, where each individual >>>>>>> file has its own license. >>>>>> A "custom" license that merely states to check the distfiles should be >>>>>> sufficient. >>>>> How about a meta port, whose dependencies all have different licenses? >>>>> Something similar? >>>> meta-ports shouldn't define a license at all. I'm not sure we have a >>>> way to shut the warnings up though. >>> Could we use USES=metaport to suppress these messages? >> Suppress what messages ? > 115 .if defined(LICENSE) > 119 .else > 120 DEV_WARNING+= "Please set LICENSE for this port" > 121 .endif
Mmmm, this is a warning, not an error, it tells you "dude, maybe you need to do this". I don't see a good reason to complicate the logic more. -- Mathieu Arnold
signature.asc
Description: OpenPGP digital signature