30 lines
965 B
Plaintext
30 lines
965 B
Plaintext
$OpenBSD: README,v 1.3 2015/08/17 15:33:04 feinerer Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
Configuring Java support
|
|
========================
|
|
To enable Java support, R needs to know where the JVM and the Java
|
|
libraries are located.
|
|
|
|
Running:
|
|
|
|
# export JAVA_HOME=${LOCALBASE}/jdk-1.8.0
|
|
# ${TRUEPREFIX}/bin/R CMD javareconf
|
|
|
|
as root, will update both ${TRUEPREFIX}/lib/R/etc/Makeconf and
|
|
${TRUEPREFIX}/lib/R/etc/ldpaths with the right settings.
|
|
|
|
Customizing package compilation
|
|
===============================
|
|
Make variables to be used by R packages compiling code at installation time
|
|
can be customized via ~/.R/Makevars
|
|
(https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Customizing-package-compilation).
|
|
E.g., for using recent compilers (packages g++, g95, and gcc) add
|
|
|
|
CC=egcc
|
|
CXX=eg++
|
|
F77=egfortran
|