[Rd] Fix for R-devel+Quartz

From: Simon Urbanek <simon.urbanek_at_math.uni-augsburg.de>
Date: Thu 20 Jan 2005 - 02:07:53 EST

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

  # need Defn.h etc, and config.h
  PKG_CPPFLAGS =-I../../../include -I$(top_srcdir)/src/include

+# need AppKit framework for Quartz (only if Aqua is to be used) +@BUILD_AQUA_TRUE@PKG_LIBS =-framework AppKit

  all: Makefile Makedeps

         @$(MAKE) Makedeps


R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Jan 20 01:21:52 2005

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:02:37 EST