mirror of
https://git.freebsd.org/ports.git
synced 2025-06-23 13:40:34 -04:00
- 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)
28 lines
1 KiB
Groovy
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 {
|