Skip to content

Commit

Permalink
openjdk8: on powerpc make a stub
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Dec 1, 2024
1 parent fcb88ed commit 548f026
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions java/openjdk8/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,15 @@ post-patch {
}

if {${configure.build_arch} eq "ppc"} {
depends_build-append port:openjdk7-bootstrap
configure.args-append --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk7-bootstrap
configure.post_args --disable-headful
post-patch {
reinplace "s|WARNINGS_ARE_ERRORS = -Werror|WARNING_FLAGS =|g" hotspot/make/bsd/makefiles/gcc.make
reinplace "s|WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wformat=2|WARNING_FLAGS = |g" hotspot/make/bsd/makefiles/gcc.make
reinplace "s|@ZERO_ARCHDEF@|PPC|g" hotspot/make/bsd/platform_zero.in
reinplace "s|@ZERO_LIBARCH@|ppc|g" hotspot/make/bsd/platform_zero.in
reinplace "s|dtraceCheck| |g" hotspot/make/bsd/makefiles/vm.make
reinplace "s|LP64=1|LP64=0|g" hotspot/make/bsd/Makefile
depends_lib port:${name}-powerpc

distfiles
patchfiles
use_configure no
build {}
destroot {
xinstall -d ${destroot}${prefix}/share/doc/${name}
system "echo $name is a stub port > ${destroot}${prefix}/share/doc/${name}/README"
}
} elseif {${configure.build_arch} in "arm64 x86_64"} {
if {${os.platform} eq "darwin" && ${os.major} < 11} {
Expand Down

0 comments on commit 548f026

Please sign in to comment.