[111229] trunk/dports/net/prosody/Portfile
Aljaž Srebrnič
g5pw at macports.org
Wed Sep 18 01:03:38 PDT 2013
On 17/set/2013, at 20:17, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Sep 17, 2013, at 08:09, g5pw at macports.org wrote:
>
>> Revision: 111229
>> https://trac.macports.org/changeset/111229
>> Author: g5pw at macports.org
>> Date: 2013-09-17 06:09:12 -0700 (Tue, 17 Sep 2013)
>> Log Message:
>> -----------
>> net/prosody:
>> ensure we are UsingTheRightCompiler and actually support universal build
>>
>> Modified Paths:
>> --------------
>> trunk/dports/net/prosody/Portfile
>>
>> Modified: trunk/dports/net/prosody/Portfile
>> ===================================================================
>> --- trunk/dports/net/prosody/Portfile 2013-09-17 06:23:52 UTC (rev 111228)
>> +++ trunk/dports/net/prosody/Portfile 2013-09-17 13:09:12 UTC (rev 111229)
>> @@ -5,6 +5,7 @@
>>
>> name prosody
>> version 0.9.1
>> +revision 1
>> maintainers g5pw openmaintainer
>>
>> categories net chat
>> @@ -30,9 +31,18 @@
>> checksums rmd160 95d5e12c4ca2a2e292a2baa7271f949f1743c02b \
>> sha256 6cdea6fd6027bec621f7995709ca825a29aa5e066b321bfbb7785925c9f32cd5
>>
>> +configure.cflags-append -fPIC
>> +configure.ldflags-append -bundle -undefined dynamic_lookup
>> +
>> configure.args-append \
>> --ostype=macosx \
>> - --with-lua-include=${prefix}/include
>> + --with-lua=${prefix} \
>> + --with-lua-include=${prefix}/include \
>> + --with-lua-lib=${prefix}/lib \
>> + --c-compiler=${configure.cc} \
>> + --linker=${configure.cc} \
>> + --cflags=\"${configure.cflags}\" \
>> + --ldflags=\"${configure.ldflags}\"
>
> These changes don't appear to relate to supporting a universal build. And:
>
Thanks, I forgot to add archflags.
>
> $ sudo port install prosody +universal
> ---> Computing dependencies for prosody
> Error: Cannot install prosody for the arch(s) 'i386 x86_64' because
> Error: its dependency lua-luasocket does not build for the required arch(s) by default
> Error: and does not have a universal variant.
> Error: Unable to execute port: architecture mismatch
I see. Then what should I do?
--
Aljaž Srebrnič a.k.a g5pw
My public key: http://bit.ly/g5pw_pubkey
More information about the macports-dev
mailing list