[MPlayer-dev-eng] already got a workaround (re: latest svn broke on MacOSX)

Nicolas Plourde nicolas.plourde at gmail.com
Tue Dec 5 13:08:03 CET 2006


On 5-Dec-06, at 6:19 AM, <sci-fi at hush.ai> wrote:

>
> Sometime sooner or later I hope the moderator will approve the  
> configure.log
> post I just made, in relation to the current svn breakage for  
> MacOSX during
> make.  For now you-all are going to need to wait for that report in  
> order
> to see what I'm talking about exactly here.  ;)
>
> But already I have a workaround.  The breakage _is_ directly  
> related to
> mucking around with isysroot in the recent configure r21504 patch.  My
> post has a strong warning about mucking around with these settings  
> when
> other env-vars are set to the contrary -- e.g. I always set 10.4  
> for the
> SDKROOT and MACOSX_DEPLOYMENT_TARGET in my local PPC build  
> enviroment for
> _all_ projects ever built & installed here.  So when the commit  
> started
> mucking with isysroot, WE HAVE A CONFLICT NOW.  (Whenever the  
> moderator
> can allow that long post to come thru here, you'll see what I mean...)
>
> Below is a patch to check for env-var settings that already define the
> developer/builder's intended conditions for compiling, and bypasses  
> the
> new configure code that mucks with isysroot if these env-vars are set.
>
>>>>>
> --- configure_orig	2006-12-05 03:49:35 -0600
> +++ configure	2006-12-05 04:39:18 -0600
> @@ -7130,11 +7130,13 @@
> if darwin ; then
>   CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN - 
> DCONFIG_DARWIN -shared-libgcc"  + if test x"$SDKROOT" = x && test  
> x"$MACOSX_DEPLOYMENT_TARGET" = x ; then
>   if x86 ; then
>   CFLAGS="$CFLAGS -arch i386 -isysroot /Developer/SDKs/ 
> MacOSX10.4u.sdk"
>   else
>   CFLAGS="$CFLAGS -arch ppc -isysroot /Developer/SDKs/ 
> MacOSX10.3.9.sdk"
>   fi
> + fi
>   if [ "$_cc_major" = 3 ] && [ "$_cc_minor" -lt 1 ]; then
>     CFLAGS="$CFLAGS -no-cpp-precomp"
>   fi
>
> <<<<

I made the isysroot change. And it does not cause any problem for me.  
Give me more information.

====
Nicolas Plourde <nicolas.plourde at gmail.com>






More information about the MPlayer-dev-eng mailing list