You also need...

perl -pi -e 's|\$CPPFLAGS
\-I\${xml2_prefix}/include/libxml2|\-I\${xml2_prefix}/include/libxml2
\$CPPFLAGS|g' configure

which finally produces a valid include ordering for fink...

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./config -I./ltdl
-I./ltdl -I/sw/include/libxml2 -I/sw/include/freetype2 -I/sw/include
-DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/X11/include -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

         Jack


On Tue, Jan 27, 2015 at 6:07 AM, Hanspeter Niederstrasser
<f...@snaggledworks.com> wrote:
> On 1/26/2015 9:31 PM, Jack Howarth wrote:
>>
>> Hanspeter,
>>        Almost there...
>>
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./config -I./ltdl
>> -I./ltdl -I/sw/include/freetype2 -I/sw/include
>> -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16
>> -I/usr/X11/include -I/sw/include/libxml2 -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
>>
>> The -I/sw/include/freetype2 is fixed but the -I/sw/include/libxml2
>> include still appears after  -I/usr/X11/include.
>
>
> Is that actually causing a build failure on 10.7 or the system-libxml to be
> used?
>
> 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