Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2024 16:25:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282987] devel/R-cran-rJava: fix build on armv7
Message-ID:  <bug-282987-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282987

            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=3D  libicuuc.so:devel/icu   \
 USES=3D          cran:compiles
 USE_JAVA=3D      yes

-JRE_LIBS=3D      ${JAVA_HOME}/jre/lib/${ARCH:S/powerpc64/ppc64/}/server  #=
 JDK8
+JRE_LIBS=3D=20=20=20=20=20
${JAVA_HOME}/jre/lib/${ARCH:S/armv6/arm/:S/armv7/arm/:S/powerpc64/ppc64/}/s=
erver
       # JDK8
 #JRE_LIBS=3D     ${JAVA_HOME}/jre/lib/server     # JDK11
 LDFLAGS=3D       "-Wl,-rpath=3D${JRE_LIBS} "
 MAKE_ENV=3D      JAVA_HOME=3D${JAVA_HOME}  \


I tested it in an armv7 jail on aarch64/RPI4.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282987-7788>