[Rd] Fix for R-devel+Quartz

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jan 19 16:33:13 CET 2005


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)
> + at BUILD_AQUA_TRUE@PKG_LIBS =-framework AppKit
>
> all: Makefile Makedeps
>        @$(MAKE) Makedeps
>
> Thanks,
> Simon
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at 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



More information about the R-devel mailing list