From ripley at stats.ox.ac.uk  Wed Jan 19 16:33:13 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed Jan 19 16:33:30 2005
Subject: [Rd] Fix for R-devel+Quartz
In-Reply-To: <E44FF8D6-6A2B-11D9-BC92-000D93AE1C66@math.uni-augsburg.de>
References: <E44FF8D6-6A2B-11D9-BC92-000D93AE1C66@math.uni-augsburg.de>
Message-ID: <Pine.LNX.4.61.0501191529170.11536@gannet.stats>

Simon,

We know, we just can't commit the rest of the change as SVN has hung.
These things happen ....

We did not know that AppKit sufficed, though.

Brian

On Wed, 19 Jan 2005, Simon Urbanek wrote:

> Current R-devel doesn't compile on OS X, because "-framework Carbon" was 
> (correcly) removed main_ldflags, but it was not added to flags for grDevices, 
> where it is needed now. The following tiny patch remedies the issue (it is 
> sufficient to include AppKit as only that subset of Carbon is needed):
>
> Index: src/library/grDevices/src/Makefile.in
> ===================================================================
> --- src/library/grDevices/src/Makefile.in       (revision 32713)
> +++ src/library/grDevices/src/Makefile.in       (working copy)
> @@ -20,6 +20,8 @@
>
> # need Defn.h etc, and config.h
> PKG_CPPFLAGS =-I../../../include -I$(top_srcdir)/src/include -DHAVE_CONFIG_H
> +# need AppKit framework for Quartz (only if Aqua is to be used)
> +@BUILD_AQUA_TRUE@PKG_LIBS =-framework AppKit
>
> all: Makefile Makedeps
>        @$(MAKE) Makedeps
>
> Thanks,
> Simon
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] Fix for R-devel+Quartz
Prof Brian Ripley