From b41cad055fb9e4d39f23dfbe91babba8f36c4762 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 21 Oct 2021 11:07:14 -0400 Subject: dev-java/openj9-openjdk: fixes --- dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild | 4 ++-- dev-java/openj9-openjdk/openj9-openjdk-17.0.29.0.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'dev-java/openj9-openjdk') diff --git a/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild b/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild index bda42bb..f855f71 100644 --- a/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild +++ b/dev-java/openj9-openjdk/openj9-openjdk-11.0.29.0.ebuild @@ -92,7 +92,7 @@ REQUIRED_USE="javafx? ( alsa !headless-awt )" if [[ ${OPENJ9_PV} == 9999 ]]; then S="${WORKDIR}/openj9-openjdk-jdk${SLOT}" else - S="${WORKDIR}/openj9-openjdk-jdk${SLOT}-${OPENJ9_P}" + S="${WORKDIR}/openj9-openjdk-jdk${SLOT}-${OPENJ9_PV}-release" fi # The space required to build varies wildly depending on USE flags, @@ -195,7 +195,7 @@ src_prepare() { closed/OpenJ9.gmk || die fi - find openj9/ omr/ -name CMakeLists.txt -exec grep -l 'set(OMR_WARNINGS_AS_ERRORS ON' {} + | xargs sed -i -e '/set(OMR_WARNINGS_AS_ERRORS ON/s/ON/OFF/' || die + find openj9/ omr/ -name CMakeLists.txt -exec sed -i -e '/set(OMR_WARNINGS_AS_ERRORS ON/s/ON/OFF/' {} + || die chmod +x configure || die } diff --git a/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.0.ebuild b/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.0.ebuild index 8e03257..611a075 100644 --- a/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.0.ebuild +++ b/dev-java/openj9-openjdk/openj9-openjdk-17.0.29.0.ebuild @@ -195,7 +195,7 @@ src_prepare() { closed/OpenJ9.gmk || die fi - find openj9/ omr/ -name CMakeLists.txt -exec grep -l 'set(OMR_WARNINGS_AS_ERRORS ON' {} + | xargs sed -i -e '/set(OMR_WARNINGS_AS_ERRORS ON/s/ON/OFF/' || die + find openj9/ omr/ -name CMakeLists.txt -exec sed -i -e '/set(OMR_WARNINGS_AS_ERRORS ON/s/ON/OFF/' {} + || die chmod +x configure || die } -- cgit v1.2.3-70-g09d2