ports patch for comm/rxtx
Pav Lucistnik
pav at FreeBSD.org
Mon Sep 8 20:14:05 UTC 2008
Zach Metzinger píše v po 08. 09. 2008 v 14:33 -0500:
> The configure and configure.in files for comm/rxtx are broken when using
> java/jdk16. Two patches, below, fix this problem. The actual credit for
> figuring this out belongs to netbeans at gatworks.com. I just created
> patches to fix the issue.
>
> Unpatched, the port does not indicate an error, but the installation fails
> (no files installed). If installed by hand at this point, programs using
> rxtx fail due to:
>
> java.lang.UnsatisfiedLinkError: gnu.io.RXTXCommDriver.nativeGetVersion()Ljava/lang/String; thrown while loading gnu.io.RXTXCommDriver
This looks useful. Let me test and commit it.
> --- Zach
>
> *** configure+ Mon Sep 8 14:22:44 2008
> --- configure Mon Sep 8 14:23:16 2008
> ***************
> *** 21611,21617 ****
> TARGETLIB="\$(target_triplet)/librxtxSerial.la \
> \$(target_triplet)/librxtxParallel.la"
> case $JAVA_VERSION in
> ! 1.2*|1.3*|1.4*|1.5*)
> #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)"
> --- 21611,21617 ----
> TARGETLIB="\$(target_triplet)/librxtxSerial.la \
> \$(target_triplet)/librxtxParallel.la"
> case $JAVA_VERSION in
> ! 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)"
>
> *** configure.in+ Mon Sep 8 14:22:51 2008
> --- configure.in Mon Sep 8 14:23:25 2008
> ***************
> *** 533,539 ****
> TARGETLIB="\$(target_triplet)/librxtxSerial.la \
> \$(target_triplet)/librxtxParallel.la"
> case $JAVA_VERSION in
> ! 1.2*|1.3*|1.4*|1.5*)
> #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)"
> --- 533,539 ----
> TARGETLIB="\$(target_triplet)/librxtxSerial.la \
> \$(target_triplet)/librxtxParallel.la"
> case $JAVA_VERSION in
> ! 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)"
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
Pav Lucistnik <pav at oook.cz>
<pav at FreeBSD.org>
Your sig line (k) was stolen! -more- There is a puff of smoke!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080908/7ede5701/attachment.pgp
More information about the freebsd-ports
mailing list