From 75b9ca1025ba889904f106d4baf6f190c0a52832 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sat, 1 Aug 2020 15:26:55 -0400 Subject: dev-java/openj9-openjdk: cleanup --- .../openj9-openjdk/openj9-openjdk-11.0.21.0.ebuild | 22 ++++++++------------ .../openj9-openjdk/openj9-openjdk-14.0.21.0.ebuild | 24 ++++++++++------------ 2 files changed, 20 insertions(+), 26 deletions(-) (limited to 'dev-java') diff --git a/dev-java/openj9-openjdk/openj9-openjdk-11.0.21.0.ebuild b/dev-java/openj9-openjdk/openj9-openjdk-11.0.21.0.ebuild index 0960297..f898553 100644 --- a/dev-java/openj9-openjdk/openj9-openjdk-11.0.21.0.ebuild +++ b/dev-java/openj9-openjdk/openj9-openjdk-11.0.21.0.ebuild @@ -155,22 +155,18 @@ pkg_setup() { src_prepare() { ln -s ../openj9-${OPENJ9_P} openj9 || die ln -s ../openj9-omr-${OPENJ9_P} omr || die + default + eapply "${FILESDIR}/openjdk-8238380-childproc-fcommon.patch" - ( - cd openj9 || die - #eapply "${FILESDIR}/openj9-j9utf8-fam.patch" - eapply "${FILESDIR}/openj9-make-jvmti-test-variables-static.patch" - ) - ( - cd omr || die - eapply "${FILESDIR}/omr-omrstr-iconv-failure-overflow.patch" - #eapply "${FILESDIR}/omr-fam.patch" - ) + eapply -d openj9 -- "${FILESDIR}/openj9-make-jvmti-test-variables-static.patch" + #eapply -d openj9 -- "${FILESDIR}/openj9-j9utf8-fam.patch" + eapply -d omr -- "${FILESDIR}/omr-omrstr-iconv-failure-overflow.patch" + #eapply -d omr -- "${FILESDIR}/omr-fam.patch" sed -i -e '/^OPENJ9_SHA :=/s/:=.*/:= '${OPENJ9_P}/ \ - -e '/^OPENJ9_TAG :=/s/:=.*/:= '${OPENJ9_P}/ \ - -e '/^OPENJ9OMR_SHA :=/s/:=.*/:= '${OPENJ9_P}/ \ - closed/OpenJ9.gmk + -e '/^OPENJ9_TAG :=/s/:=.*/:= '${OPENJ9_P}/ \ + -e '/^OPENJ9OMR_SHA :=/s/:=.*/:= '${OPENJ9_P}/ \ + closed/OpenJ9.gmk chmod +x configure || die } diff --git a/dev-java/openj9-openjdk/openj9-openjdk-14.0.21.0.ebuild b/dev-java/openj9-openjdk/openj9-openjdk-14.0.21.0.ebuild index a8c5017..6aa0dee 100644 --- a/dev-java/openj9-openjdk/openj9-openjdk-14.0.21.0.ebuild +++ b/dev-java/openj9-openjdk/openj9-openjdk-14.0.21.0.ebuild @@ -155,21 +155,19 @@ pkg_setup() { src_prepare() { ln -s ../openj9-${OPENJ9_P} openj9 || die ln -s ../openj9-omr-${OPENJ9_P} omr || die + default - ( - cd openj9 || die - #eapply "${FILESDIR}/openj9-j9utf8-fam.patch" - eapply "${FILESDIR}/openj9-make-jvmti-test-variables-static.patch" - ) - ( - cd omr || die - eapply "${FILESDIR}/omr-omrstr-iconv-failure-overflow.patch" - #eapply "${FILESDIR}/omr-fam.patch" - ) + + eapply -d openj9 -- "${FILESDIR}/openj9-make-jvmti-test-variables-static.patch" + #eapply -d openj9 -- "${FILESDIR}/openj9-j9utf8-fam.patch" + eapply -d omr -- "${FILESDIR}/omr-omrstr-iconv-failure-overflow.patch" + #eapply -d omr -- "${FILESDIR}/omr-fam.patch" + sed -i -e '/^OPENJ9_SHA :=/s/:=.*/:= '${OPENJ9_P}/ \ - -e '/^OPENJ9_TAG :=/s/:=.*/:= '${OPENJ9_P}/ \ - -e '/^OPENJ9OMR_SHA :=/s/:=.*/:= '${OPENJ9_P}/ \ - closed/OpenJ9.gmk + -e '/^OPENJ9_TAG :=/s/:=.*/:= '${OPENJ9_P}/ \ + -e '/^OPENJ9OMR_SHA :=/s/:=.*/:= '${OPENJ9_P}/ \ + closed/OpenJ9.gmk + chmod +x configure || die } -- cgit v1.2.3-70-g09d2