diff options
author | Tom Judge <tj@FreeBSD.org> | 2012-12-10 16:35:24 +0000 |
---|---|---|
committer | Tom Judge <tj@FreeBSD.org> | 2012-12-10 16:35:24 +0000 |
commit | 89cfabe525e5a4f8ce890d05e69c8dc56d52230e (patch) | |
tree | 8b695838c89082219f476d2e9949812fa65fec9a | |
parent | * Reset maintainer to ports@ (diff) |
* Reset maintainer to ports@
* Allow build with openjdk7
PR: ports/173844
Submitted by: 4721@hushmail.com
Approved by: loader <loader@freebsdmall.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=308613
-rw-r--r-- | games/jinput/Makefile | 4 | ||||
-rw-r--r-- | games/jinput/files/patch-openjdk7 | 10 |
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"/> |