ports/devel/ghidra/files/patch-GPL_CabExtract_build.gradle
Tobias Kortkamp 35cab9ee7f devel/ghidra: Update to 9.1
- Now that openjdk11+ are registered in bsd.java.mk, drop the JDK11
  and JDK12 options

Changes:	https://ghidra-sre.org/releaseNotes_9.1_final.html#9_1
PR:		239902
Submitted by:	Tamas Szakaly <sghctoma@gmail.com> (maintainer)
2019-11-20 11:49:00 +00:00

18 lines
750 B
Groovy

--- GPL/CabExtract/build.gradle.orig 2019-11-04 12:59:19 UTC
+++ GPL/CabExtract/build.gradle
@@ -58,7 +58,7 @@ task configureCabExtract (type: Exec) {
* The cabextract tool requires that its 'configure' script is called before make.
*********************************************************************************/
def currentPlatform = getCurrentPlatformName()
-if (['linux64', 'osx64'].contains(currentPlatform)) {
+if (['linux64', 'osx64', 'freebsd64'].contains(currentPlatform)) {
def makeName = "${currentPlatform}CabExtractMake" // native Make task found automatically
@@ -75,4 +75,4 @@ if (['linux64', 'osx64'].contains(currentPlatform)) {
delete file("build/unpack/${cabextract}")
}
}
-}
\ No newline at end of file
+}