Dirty hack to get cairo compiled universally

Ryan Schmidt ryandesign at macports.org
Sun Aug 3 00:31:13 PDT 2008


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.




More information about the macports-users mailing list