diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2016-07-10 12:16:35 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2016-07-10 12:16:35 +0000 |
commit | 51ad4ed52df7697ca22261ad84609dfb6bfecc54 (patch) | |
tree | e0f1c3d7573beb664073f0b68d49c65a24955d8f /java/openjfx8-devel | |
parent | 581d68fbb32c600fd1773f3f2d9cf327faad9c63 (diff) | |
download | ports-51ad4ed52df7697ca22261ad84609dfb6bfecc54.tar.gz ports-51ad4ed52df7697ca22261ad84609dfb6bfecc54.zip |
java/openjfx8-devel: Unbreak build after Gradle update
- fix the build after recent update to Gradle 2.12.
PR: 208470
MFH: 2016Q3
Submitted by: Tobias Kortkamp <t@tobik.me> (maintainer)
Notes
Notes:
svn path=/head/; revision=418313
Diffstat (limited to 'java/openjfx8-devel')
-rw-r--r-- | java/openjfx8-devel/Makefile | 3 | ||||
-rw-r--r-- | java/openjfx8-devel/files/patch-build.gradle | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/java/openjfx8-devel/Makefile b/java/openjfx8-devel/Makefile index 19bba37b3c64..a642f76aa9de 100644 --- a/java/openjfx8-devel/Makefile +++ b/java/openjfx8-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= openjfx8 PORTVERSION= 20160228 +PORTREVISION= 1 CATEGORIES= java x11-toolkits devel MASTER_SITES= https://bitbucket.org/tobik/openjfx-rt/get/ \ http://bitbucket.org/tobik/openjfx-rt/get/ @@ -16,8 +17,6 @@ COMMENT= JavaFX (OpenJFX) SDK overlay for OpenJDK 8 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= does not build - BUILD_DEPENDS= apache-ant>0:devel/apache-ant \ antlr3>0:devel/antlr3 \ gradle:devel/gradle \ diff --git a/java/openjfx8-devel/files/patch-build.gradle b/java/openjfx8-devel/files/patch-build.gradle index 05d1edea666a..de544a023117 100644 --- a/java/openjfx8-devel/files/patch-build.gradle +++ b/java/openjfx8-devel/files/patch-build.gradle @@ -1,5 +1,14 @@ --- build.gradle.orig 2016-02-28 12:54:50 UTC +++ build.gradle +@@ -125,7 +125,7 @@ void loadProperties(String sourceFileNam + def propFile = new File(sourceFileName) + if (propFile.canRead()) { + config.load(new FileInputStream(propFile)) +- for (Map.Entry property in config) { ++ for (property in config) { + def keySplit = property.key.split("\\."); + def key = keySplit[0]; + for (int i = 1; i < keySplit.length; i++) { @@ -1167,7 +1167,7 @@ allprojects { // By default all of our projects require junit for testing so we can just // setup this dependency here. |