aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTom Judge <tj@FreeBSD.org>2012-12-10 16:35:24 +0000
committerTom Judge <tj@FreeBSD.org>2012-12-10 16:35:24 +0000
commit89cfabe525e5a4f8ce890d05e69c8dc56d52230e (patch)
tree8b695838c89082219f476d2e9949812fa65fec9a /games
parentd144575b184077e38b5d0d1057fd29bb5495095b (diff)
downloadports-89cfabe525e5a4f8ce890d05e69c8dc56d52230e.tar.gz
ports-89cfabe525e5a4f8ce890d05e69c8dc56d52230e.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/jinput/Makefile4
-rw-r--r--games/jinput/files/patch-openjdk710
2 files changed, 12 insertions, 2 deletions
diff --git a/games/jinput/Makefile b/games/jinput/Makefile
index c5b984029d20..63e139bf6c30 100644
--- a/games/jinput/Makefile
+++ b/games/jinput/Makefile
@@ -10,7 +10,7 @@ DISTVERSION= 20110801.r247
CATEGORIES= games java
MASTER_SITES= LOCAL/loader
-MAINTAINER= loader@freebsdmall.com
+MAINTAINER= ports@freebsd.org
COMMENT= Java Game Controller API
BUILD_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:${PORTSDIR}/games/jutils
@@ -18,7 +18,7 @@ RUN_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:${PORTSDIR}/games/jutils
USE_BZIP2= yes
USE_JAVA= yes
-JAVA_VERSION= 1.6
+JAVA_VERSION= 1.6+
JAVA_OS= native
JAVA_VENDOR= openjdk
USE_ANT= yes
diff --git a/games/jinput/files/patch-openjdk7 b/games/jinput/files/patch-openjdk7
new file mode 100644
index 000000000000..a054a387c89d
--- /dev/null
+++ b/games/jinput/files/patch-openjdk7
@@ -0,0 +1,10 @@
+--- plugins/linux/build.xml.orig
++++ plugins/linux/build.xml
+@@ -56,6 +56,7 @@
+ <javah destdir="src/native">
+ <classpath>
+ <pathelement location="classes"/>
++ <pathelement location="../../coreAPI/bin/jinput-core.jar"/>
+ </classpath>
+ <class name="net.java.games.input.LinuxEventDevice"/>
+ <class name="net.java.games.input.LinuxJoystickDevice"/>