[Bug 282987] devel/R-cran-rJava: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Nov 2024 16:25:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282987 Bug ID: 282987 Summary: devel/R-cran-rJava: fix build on armv7 Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: thierry@FreeBSD.org Reporter: ronald@FreeBSD.org Flags: maintainer-feedback?(thierry@FreeBSD.org) Assignee: thierry@FreeBSD.org This patch fixes the build on armv7 (and presumably on armv6). Any objections for me to commit this? diff --git a/devel/R-cran-rJava/Makefile b/devel/R-cran-rJava/Makefile index d20db705e70e..4dc72caf7725 100644 --- a/devel/R-cran-rJava/Makefile +++ b/devel/R-cran-rJava/Makefile @@ -15,7 +15,7 @@ LIB_DEPENDS= libicuuc.so:devel/icu \ USES= cran:compiles USE_JAVA= yes -JRE_LIBS= ${JAVA_HOME}/jre/lib/${ARCH:S/powerpc64/ppc64/}/server # JDK8 +JRE_LIBS= ${JAVA_HOME}/jre/lib/${ARCH:S/armv6/arm/:S/armv7/arm/:S/powerpc64/ppc64/}/server # JDK8 #JRE_LIBS= ${JAVA_HOME}/jre/lib/server # JDK11 LDFLAGS= "-Wl,-rpath=${JRE_LIBS} " MAKE_ENV= JAVA_HOME=${JAVA_HOME} \ I tested it in an armv7 jail on aarch64/RPI4. -- You are receiving this mail because: You are the assignee for the bug.