diff options
author | Benda Xu <heroxbd@gentoo.org> | 2021-08-05 22:58:27 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2021-08-05 23:00:36 +0800 |
commit | 07ebce7443d74ad797d1f644783dec60d46014c7 (patch) | |
tree | 7b170a7dd05f4a8815d8fa170888989c485a3eb7 /dev-java | |
parent | dev-python/hiredis: Remove old (diff) | |
download | gentoo-07ebce7443d74ad797d1f644783dec60d46014c7.tar.gz gentoo-07ebce7443d74ad797d1f644783dec60d46014c7.tar.bz2 gentoo-07ebce7443d74ad797d1f644783dec60d46014c7.zip |
dev-java/openjfx: do not strip / from swt_file_name.
double / in swt_file_name is between EPREFIX and JAVA_PKG_JARDEST.
Stripping the leading / confuses gradle in finding swt.jar.
The ultimate fix should be done in java-utils-2.eclass.
Reference: https://archives.gentoo.org/gentoo-dev/message/96db539ae412aab36491987d4e424dd3
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/openjfx/openjfx-8.1000.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-java/openjfx/openjfx-8.1000.ebuild b/dev-java/openjfx/openjfx-8.1000.ebuild index 4763fb1c16ee..026a67b5e2eb 100644 --- a/dev-java/openjfx/openjfx-8.1000.ebuild +++ b/dev-java/openjfx/openjfx-8.1000.ebuild @@ -130,7 +130,7 @@ src_prepare() { java-pkg_jar-from --build-only --into "${d}" antlr-3 antlr-tool.jar antlr-3.1.3.jar java-pkg_jar-from --build-only --into "${d}" antlr-3 antlr-runtime.jar antlr-runtime-3.1.3.jar java-pkg_jar-from --build-only --into "${d}" stringtemplate stringtemplate.jar stringtemplate-3.2.jar - sed -i "s#compile name: SWT_FILE_NAME#compile files(\"${swt_file_name#/}\")#" "${S}"/build.gradle || die + sed -i "s#compile name: SWT_FILE_NAME#compile files(\"${swt_file_name}\")#" "${S}"/build.gradle || die sed -i 's/-rpath/-rpath-link/g' modules/media/src/main/native/jfxmedia/projects/linux/Makefile || die } |