Skip to content

Commit

Permalink
devel/R-cran-rJava: fix build on powerpc64*
Browse files Browse the repository at this point in the history
openjdk is installed into ppc64 / ppc64le subdirectory.
  • Loading branch information
pkubaj committed May 13, 2022
1 parent 40a5f0f commit 1518656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel/R-cran-rJava/Makefile
Expand Up @@ -16,7 +16,7 @@ LIB_DEPENDS= libicuuc.so:devel/icu \
USES= cran:compiles
USE_JAVA= yes

JRE_LIBS= ${JAVA_HOME}/jre/lib/${ARCH}/server # JDK8
JRE_LIBS= ${JAVA_HOME}/jre/lib/${ARCH:S/powerpc64/ppc64/}/server # JDK8
#JRE_LIBS= ${JAVA_HOME}/jre/lib/server # JDK11
LDFLAGS= "-Wl,-rpath=${JRE_LIBS} "
MAKE_ENV= JAVA_HOME=${JAVA_HOME} \
Expand Down

0 comments on commit 1518656

Please sign in to comment.