From 10238e0f4b3f8eddad7bdb05711d17961919c8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 27 Oct 2022 18:59:10 +0700 Subject: [PATCH] openjdk8: use create_wrksrc --- srcpkgs/openjdk8/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template index 5060224eaab..25a93b300a9 100644 --- a/srcpkgs/openjdk8/template +++ b/srcpkgs/openjdk8/template @@ -13,7 +13,7 @@ _jdk_home="usr/lib/jvm/java-1.8-openjdk" # otherwise the same as the normal one, just with aarch64 port added _repo_ver="aarch64-shenandoah-jdk${version/b/-b}" archs="x86_64* i686* aarch64* arm* ppc64*" -wrksrc="jdk8u-shenandoah-aarch64-shenandoah-jdk8u${_jdk_update}-b${_jdk_build}" +create_wrksrc=yes build_style=gnu-configure configure_args=" --prefix=${XBPS_DESTDIR}/${XBPS_CROSS_TRIPLET}/${pkgname}-${version}/usr/lib @@ -139,9 +139,10 @@ alternatives=" " post_extract() { + mv jdk8u*/* . chmod +x configure for subrepo in corba hotspot jdk jaxws jaxp langtools nashorn; do - mv ../${subrepo}-${_repo_ver} ${subrepo} + mv ${subrepo}-${_repo_ver} ${subrepo} done # gcc complains about the signed shift left