[macports-ports] 11/11: lz4: use the right C++ compiler

Marcus Calhoun-Lopez mcalhoun at macports.org
Sun Sep 17 00:49:59 UTC 2017


Thank you for noticing this.
It should be fixed in
https://github.com/macports/macports-ports/commit/129c7c7d5f3ee7902f844f6bcb5612181c165dbc.

-Marcus

On Sat, Sep 16, 2017 at 4:39 PM, Ryan Schmidt <ryandesign at macports.org> wrote:
>
>> On Sep 16, 2017, at 17:48, Marcus Calhoun-Lopez <mcalhoun at macports.org> wrote:
>>
>> Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
>> in repository macports-ports.
>>
>>
>> https://github.com/macports/macports-ports/commit/84df47b322e354c0211df58f70cea91c2dcd246a
>>
>> commit 84df47b322e354c0211df58f70cea91c2dcd246a
>>
>> Author: Marcus Calhoun-Lopez <marcuscalhounlopez at gmail.com>
>> AuthorDate: Sat Sep 16 15:47:50 2017 -0700
>>
>>
>>     lz4: use the right C++ compiler
>>
>>
>>
>>     See https://trac.macports.org/wiki/UsingTheRightCompiler
>>
>> ---
>>  archivers/lz4/Portfile | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>>
>> diff --git a/archivers/lz4/Portfile b/archivers/lz4/Portfile
>>
>> index ada6ed6..8a7dcaa 100644
>>
>> --- a/archivers/lz4/Portfile
>>
>> +++ b/archivers/lz4/Portfile
>>
>> @@ -30,9 +30,13 @@ destroot.args-append PREFIX=${prefix}
>>
>>  if { ![variant_isset universal] } {
>>      build.args-append    CC="${configure.cc} [get_canonical_archflags cc]"
>>      destroot.args-append CC="${configure.cc} [get_canonical_archflags cc]"
>> +    build.args-append    CXX="${configure.cxx} [get_canonical_archflags cc]"
>> +    destroot.args-append CXX="${configure.cxx} [get_canonical_archflags cc]"
>
> Should probably be "cxx" here, not "cc", though it currently doesn't make a difference.
>
>
>


More information about the macports-dev mailing list