1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-22 05:00:30 -04:00
ports/devel/ghidra/files/patch-GPL_gpl.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

23 lines
993 B
Groovy

--- GPL/gpl.gradle.orig 2019-11-04 13:00:14 UTC
+++ GPL/gpl.gradle
@@ -6,7 +6,7 @@ project.ext.BIN_REPO = file("../../../ghidra.bin").abs
* Create a set containing all the platforms we need when building native
* artifacts.
****************************************************************************/
-project.ext.set("OS_NAMES", ["osx64", "win32", "win64", "linux64"])
+project.ext.set("OS_NAMES", ["osx64", "win32", "win64", "linux64", "freebsd64"])
/****************************************************************************
* Establish Visual Studio configuration environment for Windows native builds
@@ -43,6 +43,11 @@ ext.getCurrentPlatformName = {
return 'osx64'
}
}
+ else if (osName.startsWith("FreeBSD")) {
+ if (isX86_64) {
+ return 'freebsd64'
+ }
+ }
throw new GradleException("Unrecognized current platform -> osName = $osName, archName = $archName")
}
/******************************************************************************************