Hanspeter,
      It seems really hard to detangle the flag assignments within
magemagick7-shlibs to properly order the includes for fink. We
probably need to resort to flag-sort here instead.
               Jack

On Mon, Jan 26, 2015 at 9:27 AM, Jack Howarth <howarth.at.f...@gmail.com> wrote:
> Hanspeter,
>     While the build doesn't fail here on 10.10, I do see the same
> inappropriate header ordering...
>
> /bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I./config  -I./ltdl -I./ltdl  -I/sw/include
> -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
> -I/usr/X11/include -I/sw/include/libxml2  -I/sw/include/freetype2
> -D_THREAD_SAFE -D_THREAD_SAFE -pthread -g -O2 -Wall -D_THREAD_SAFE
> -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -MT
> magick/magick_libMagickCore_Q16HDRI_la-annotate.lo -MD -MP -MF
> magick/.deps/magick_libMagickCore_Q16HDRI_la-annotate.Tpo -c -o
> magick/magick_libMagickCore_Q16HDRI_la-annotate.lo `test -f
> 'magick/annotate.c' || echo './'`magick/annotate.c
>
> where X_CFLAGS is placing  -I/usr/X11/include before
> -I/sw/include/libxml2  -I/sw/include/freetype2.
>            Jack
> ps The new freetype219 is teasing out such wrong header orderings
> (especially on 10.7 which doesn't use Xquartz for the X11 headers).
>
> On Mon, Jan 26, 2015 at 6:11 AM, Hanspeter Niederstrasser
> <f...@snaggledworks.com> wrote:
>> On 1/26/2015 12:56 AM, Jack Howarth wrote:
>>>
>>> Hanspeter,
>>>         The new freetype219 has broken the imagemagick7-shlibs build.
>>>
>>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./config -I./ltdl
>>> -I./ltdl -I/sw/include -DMAGICKCORE_HDRI_ENABLE=1
>>> -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/X11/include -I/sw/include/libxml2
>>> -I/sw/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE -pthread -g -O2
>>> -Wall -D_THREAD_SAFE -pthread -DMAGICKCORE_HDRI_ENABLE=1
>>> -DMAGICKCORE_QUANTUM_DEPTH=16 -MT
>>> magick/magick_libMagickCore_Q16HDRI_la-annotate.lo -MD -MP -MF
>>> magick/.deps/magick_libMagickCore_Q16HDRI_la-annotate.Tpo -c
>>> magick/annotate.c  -fno-common -DPIC -o
>>> magick/.libs/magick_libMagickCore_Q16HDRI_la-annotate.o
>>>
>>> In file included from magick/annotate.c:82:
>>> /usr/X11/include/ft2build.h:56:10: fatal error:
>>> 'freetype/config/ftheader.h' file not found
>>> #include <freetype/config/ftheader.h>
>>>           ^
>>
>>
>> 1) I don't see this error on 10.9 with the latest freetype219.
>> 2) Why is your ft2build.h from X11 directly in /usr/X11/include and not
>> inside /usr/X11/include/freetype2 ?
>>
>> Hanspeter
>>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to