summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2021-08-05 22:58:27 +0800
committerBenda Xu <heroxbd@gentoo.org>2021-08-05 23:00:36 +0800
commit07ebce7443d74ad797d1f644783dec60d46014c7 (patch)
tree7b170a7dd05f4a8815d8fa170888989c485a3eb7 /dev-java
parentdev-python/hiredis: Remove old (diff)
downloadgentoo-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.ebuild2
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
}