1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 13:40:34 -04:00
ports/devel/ghidra/files/patch-Ghidra_Features_Decompiler_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

28 lines
1 KiB
Groovy

--- Ghidra/Features/Decompiler/build.gradle.orig 2019-10-23 20:54:54 UTC
+++ Ghidra/Features/Decompiler/build.gradle
@@ -210,7 +210,8 @@ task buildDecompilerDocumentationHtml(type: Exec) {
// Check the OS before executing command.
doFirst {
if ( !(org.gradle.internal.os.OperatingSystem.current().isLinux()
- || org.gradle.internal.os.OperatingSystem.current().isMacOsX())) {
+ || org.gradle.internal.os.OperatingSystem.current().isMacOsX()
+ || org.gradle.internal.os.OperatingSystem.current().getName().contains("FreeBSD"))) {
throw new TaskExecutionException( it,
new Exception( "The '$it.name' task only works on Linux or Mac Os X" ))
}
@@ -248,6 +249,7 @@ model {
targetPlatform "win64"
targetPlatform "linux64"
targetPlatform "osx64"
+ targetPlatform "freebsd64"
sources {
cpp {
source {
@@ -345,6 +347,7 @@ model {
targetPlatform "win64"
targetPlatform "linux64"
targetPlatform "osx64"
+ targetPlatform "freebsd64"
sources {
cpp {
source {