[Lunar-commits] r22456 - moonbase/trunk/libs/libical

Auke Kok sofar at foo-projects.org
Mon Dec 4 22:03:01 CET 2006


Dennis Veatch wrote:
> Author: stumbles
> Date: 2006-12-04 21:59:21 +0100 (Mon, 04 Dec 2006)
> New Revision: 22456
> 
> Added:
>    moonbase/trunk/libs/libical/BUILD
> Log:
> 
> Another -fPIC and x86_64 thing.
> 
> The cp part of this may not be the "best" way but it 
> works here and mozilla calendar seems happy with it.
> 
> 
> 
> Added: moonbase/trunk/libs/libical/BUILD
> ===================================================================
> --- moonbase/trunk/libs/libical/BUILD	                        (rev 0)
> +++ moonbase/trunk/libs/libical/BUILD	2006-12-04 20:59:21 UTC (rev 22456)
> @@ -0,0 +1,16 @@
> +(
> +
> +# This is just easier than monkeying around with their
> +# config.sub to add the needed machine types, etc.
> +
> +  cp /usr/share/automake/config.sub $SOURCE_DIRECTORY
> +
> +  default_config &&
> +
> +  sedit "s:CFLAGS =  -O2:CFLAGS = -fPIC  -O2:" src/libical/Makefile
> +  sedit "s:CFLAGS =  -O2:CFLAGS = -fPIC  -O2:" src/python/Makefile
> +  sedit "s:CFLAGS =  -O2:CFLAGS = -fPIC  -O2:" src/libicalss/Makefile

replace that with:

sedit "s:CFLAGS =  -O2:CFLAGS = -fPIC  -O2:" src/{python,libical,libicalss}/Makefile

or even better:

sedit "s:CFLAGS =  -O2:CFLAGS = -fPIC $CFLAGS:" src/{python,libical,libicalss}/Makefile

Cheers,

Auke


More information about the Lunar-dev mailing list