aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-09-09 04:30:40 +0800
committerpav <pav@FreeBSD.org>2008-09-09 04:30:40 +0800
commitea0fd33449254a19b7cabee3283bd778e2e266a8 (patch)
tree9cd7bd5d8bd0cd3d93f8012f0bb0e185e4eabc09
parent73a85a9570af3d21d6e45740a113dc74e68a95ba (diff)
downloadfreebsd-ports-gnome-ea0fd33449254a19b7cabee3283bd778e2e266a8.tar.gz
freebsd-ports-gnome-ea0fd33449254a19b7cabee3283bd778e2e266a8.tar.zst
freebsd-ports-gnome-ea0fd33449254a19b7cabee3283bd778e2e266a8.zip
- Fix build with jdk16
Submitted by: Zach Metzinger <zmetzing@pobox.com> Approved by: portmgr (self)
-rw-r--r--comms/rxtx/Makefile2
-rw-r--r--comms/rxtx/files/patch-configure11
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile
index 43abaf33e4c2..3ccba6a9db30 100644
--- a/comms/rxtx/Makefile
+++ b/comms/rxtx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rxtx
PORTVERSION= 2.1.7r2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= comms java
MASTER_SITES= ftp://jarvi.dsl.frii.com/pub/rxtx/
PKGNAMESUFFIX= -${JAVA_PORT:S/java\///}
diff --git a/comms/rxtx/files/patch-configure b/comms/rxtx/files/patch-configure
new file mode 100644
index 000000000000..29e685742757
--- /dev/null
+++ b/comms/rxtx/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig 2008-09-08 22:26:51.000000000 +0200
++++ configure 2008-09-08 22:27:59.000000000 +0200
+@@ -21611,7 +21611,7 @@
+ TARGETLIB="\$(target_triplet)/librxtxSerial.la \
+ \$(target_triplet)/librxtxParallel.la"
+ case $JAVA_VERSION in
+- 1.2*|1.3*|1.4*|1.5*)
++ 1.2*|1.3*|1.4*|1.5*|1.6*)
+ #fix_parameters $JPATH/jre/lib/javax.comm.properties
+ CLASSPATH=".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name RXTXcomm.jar |head -n1`
+ RXTX_PATH="\$(JPATH)/jre/lib/\$(OS_ARCH)"