diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 03:48:22 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 04:30:49 +0000 |
commit | bea405bc9d76b0396a48b030a392a97ccb10de50 (patch) | |
tree | 31c095814d2ad306fbe60abc74c2e47a73cf923f /games-strategy/triplea/files | |
parent | dev-games/poker-eval: port to EAPI 7, ltprune--, drop static-libs (diff) | |
download | gentoo-bea405bc9d76b0396a48b030a392a97ccb10de50.tar.gz gentoo-bea405bc9d76b0396a48b030a392a97ccb10de50.tar.bz2 gentoo-bea405bc9d76b0396a48b030a392a97ccb10de50.zip |
games-strategy/triplea: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy/triplea/files')
-rw-r--r-- | games-strategy/triplea/files/triplea-1.8.0.9-drop-ant-check.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/games-strategy/triplea/files/triplea-1.8.0.9-drop-ant-check.patch b/games-strategy/triplea/files/triplea-1.8.0.9-drop-ant-check.patch new file mode 100644 index 000000000000..2a41521c4aed --- /dev/null +++ b/games-strategy/triplea/files/triplea-1.8.0.9-drop-ant-check.patch @@ -0,0 +1,29 @@ +Fix version check failure with 1.10.9 +--- a/build.xml ++++ b/build.xml +@@ -110,25 +110,6 @@ + + <!--checkBuildEnv --> + <target name="checkBuildEnv"> +- <!-- Check ant version first (pre-1.6.5 reports java version it was built +- with, not what it's running under, so an ant built with 1.5 would report +- that even if it's currently running under < 1.5). 1.6.5 was released in June +- 2005, so it's fairly unlikely that anyone would be using an older version, +- but checking it is still a good idea, and it only takes a tiny fraction of +- a second. --> +- <fail message="Ant version 1.6.5 or greater is required"> +- <condition> +- <not> +- <or> +- <contains string="${ant.version}" substring="1.6.5" /> +- <contains string="${ant.version}" substring="1.7" /> +- <contains string="${ant.version}" substring="1.8" /> +- <contains string="${ant.version}" substring="1.9" /> +- </or> +- </not> +- </condition> +- </fail> +- <echo message="${ant.version}" /> + <!-- we require jdk 1.6 or greater --> + <fail + message="jdk 1.6 or greater required, you are currently using: ${ant.java.version}"> |