README 1007 B

1234567891011121314151617181920212223242526272829303132
  1. $OpenBSD: README,v 1.7 2017/04/26 17:29:58 feinerer Exp $
  2. +-----------------------------------------------------------------------
  3. | Running ${FULLPKGNAME} on OpenBSD
  4. +-----------------------------------------------------------------------
  5. Configuring Java support
  6. ========================
  7. To enable Java support, R needs to know where the JVM and the Java
  8. libraries are located.
  9. Running:
  10. # export JAVA_HOME=${LOCALBASE}/jdk-1.8.0
  11. # ${TRUEPREFIX}/bin/R CMD javareconf
  12. as root, will update both ${TRUEPREFIX}/lib/R/etc/Makeconf and
  13. ${TRUEPREFIX}/lib/R/etc/ldpaths with the right settings.
  14. Customizing package compilation
  15. ===============================
  16. Make variables to be used by R packages compiling code at installation time
  17. can be customized via ~/.R/Makevars
  18. (https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Customizing-package-compilation).
  19. E.g., for using recent compilers (packages g++ and gcc) add
  20. CC=egcc -std=gnu99
  21. CXX=eg++
  22. CXX11=eg++
  23. CXX11STD=-std=c++11
  24. CXX11PICFLAGS=-fpic