[macports-ports] branch master updated: snowleopardfixes: new port to deal with missing functions in Snow Leopard

Ken Cunningham ken.cunningham.webuse at gmail.com
Tue Jul 4 14:04:19 UTC 2017


Thanks --  these kinds of nuances are tricky.

Will alter that and update.

Ken



On 2017-07-04, at 1:29 AM, Ryan Schmidt wrote:

> 
>> On Jul 3, 2017, at 14:46, Marius Schamschula <mps at macports.org> wrote:
>> 
>> Marius Schamschula (Schamschula) pushed a commit to branch master
>> in repository macports-ports.
>> 
>> https://github.com/macports/macports-ports/commit/3efea307091e06b1176c8e9c1f771dd1efdea179
>> 
>> The following commit(s) were added to refs/heads/master by this push:
>>      new 3efea30  snowleopardfixes: new port to deal with missing functions in Snow Leopard
>> 3efea30 is described below
>> 
>> commit 3efea307091e06b1176c8e9c1f771dd1efdea179
>> Author: Marius Schamschula <mps at macports.org>
>> AuthorDate: Mon Jul 3 14:46:31 2017 -0500
>> 
>>     snowleopardfixes: new port to deal with missing functions in Snow Leopard
>> ---
>>  devel/snowleopardfixes/Portfile | 31 +++++++++++++++++++++++++++++++
>>  1 file changed, 31 insertions(+)
>> 
>> diff --git a/devel/snowleopardfixes/Portfile b/devel/snowleopardfixes/Portfile
>> new file mode 100644
>> index 0000000..d628fc9
>> --- /dev/null
>> +++ b/devel/snowleopardfixes/Portfile
>> @@ -0,0 +1,31 @@
>> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
>> +
>> +PortSystem          1.0
>> +PortGroup           github 1.0
>> +PortGroup           muniversal 1.0
> 
> Why muniversal?
> 
>> +#PortGroup          cmake 1.0
>> +
>> +github.setup        kencu snowleopardfixes 72c90d36d20023eab306b1f9be077c5e11c3fc58
>> +version             20170702
>> +categories          sysutils
>> +platforms           darwin
>> +maintainers         gmail.com:ken.cunningham.webuse
>> +license             GPL-2
>> +
>> +description         A library to replace common functions missing from SnowLeopard
>> +long_description    ${description}
>> +
>> +checksums           rmd160  43303d2c290455488a806b05fe22647b8b070e63 \
>> +                    sha256  b73fdaed13fb50a437cd5cbe530096f9afb921820ce1dcd292bc367470888b46
>> +
>> +use_configure       no
>> +
>> +
>> +build.env           CXX="${configure.cxx}" \
>> +                    CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \
>> +                    CC="${configure.cc}" \
>> +                    CFLAGS="${configure.cflags}" \
>> +                    LDFLAGS="${configure.ldflags}  [get_canonical_archflags ld]" \
>> +                    PREFIX=${prefix}
> get_canonical_archflags won't do the right thing with muniversal. Look in the log and note how the "x86_64" build and the "i386" build both build for both x86_64 and i386.
> 
> The fact that the universal build succeeds and actually produces universal binaries suggests the muniversal portgroup isn't needed. All you need is "variant universal {}" after "use_configure no".
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20170704/38434908/attachment.html>


More information about the macports-dev mailing list