Tuesday, July 02, 2019

Re: Makefile.template tweak

On Tue, July 2, 2019 11:55, Antoine Jacoutot wrote:
> On Mon, Jul 01, 2019 at 10:00:29AM +0300, Kirill Bychkov wrote:
>> Hi!
>> The diff below moves COMPILER string template and its description
>> to the position used in most of the ports.
>> OK? Comments?
>
> While here, maybe worth add COMPILER_LANGS as well?

Hi,
Sorry, this change was commited. Anyway I'm not sure it is worth to add
COMPILER_LANGS to the template because it's not so widely used as
COMPILER. Currently I've found only 46 ports using it.

>
>>
>> Index: Makefile.template
>> ===================================================================
>> RCS file: /cvs/ports/infrastructure/templates/Makefile.template,v
>> retrieving revision 1.81
>> diff -u -p -u -r1.81 Makefile.template
>> --- Makefile.template 31 May 2019 21:29:52 -0000 1.81
>> +++ Makefile.template 1 Jul 2019 06:57:07 -0000
>> @@ -97,7 +97,10 @@ MASTER_SITES = ???
>>
>> # Dependencies
>> #
>> -#COMPILER = ???
>> +# For ports using C++, except in special cases you should use a compiler
>> +# with the same standard library as used in other ports. Remove entries
>> +# from the COMPILER list if they're known to not work.
>> +#COMPILER = base-clang ports-gcc base-gcc
>> #MODULES = ???
>> #BUILD_DEPENDS = ???
>> #RUN_DEPENDS = ???
>> @@ -108,11 +111,6 @@ MASTER_SITES = ???
>> #MAKE_ENV = ???
>> #FAKE_FLAGS = ???
>> #TEST_FLAGS = ???
>> -
>> -# For ports using C++, except in special cases you should use a compiler
>> -# with the same standard library as used in other ports. Remove entries
>> -# from the COMPILER list if they're known to not work.
>> -#COMPILER = base-clang ports-gcc base-gcc
>>
>> # build/configuration variables
>> #
>>
>>
>

No comments:

Post a Comment