Dirty hack to get cairo compiled universally

Harry van der Wolf hvdwolf at gmail.com
Sun Aug 3 02:04:03 PDT 2008


Well, I think I solved it in a clean way. See attached Portfile-rrdtool.diff
file for the Portfile.

It works fine on my system.

Harry

2008/8/3 Ryan Schmidt <ryandesign at macports.org>

>
> On Aug 3, 2008, at 02:25, Harry van der Wolf wrote:
>
>  About the --enable-atsui option. I hadn't checked that since enabling it
>> in the 1.4 series, but you're right.
>>
>> I fully agree with you about not using the "dirty hack" for MacPorts
>> (that's also why I called it a dirty hack). I just hoped that you as
>> experienced developer/port maintainer whould know a solution once I
>> explained and showed what happened.
>>
>
> I'm aware of the problem but can't find the solution. Though I have much
> experience as a port maintainer, I unfortunately have near zero experience
> as a developer of compiled software.
>
>  I'm currently looking into using something like
>> -I/${sysroot}/${prefix}/include for CFLAGS/CXXFLAGS and
>> -L/${sysroot}/${prefix}/lib as LDFLAGS and
>> PKG_CONFIG_PATH=${prefix}/lib/pkgconfig:${sysroot}/${prefix}/lib/pkgconfig,
>> and apply these as extra flags.
>> That does not work yet, but that might be due to my limited knowledge of
>> creating/modifying Portfiles.
>>
>
> I haven't seen Apple recommend that kind of setup, so I don't know if that
> can work.
>
>  Btw: I never see the CPPFLAGS setting being used to specify include file
>> paths like in CFLAGS/CXXFLAGS.
>>
>
> I'm not sure what you mean.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20080803/732c24af/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile-rrdtool.diff
Type: application/octet-stream
Size: 965 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080803/732c24af/attachment.obj 


More information about the macports-users mailing list