Date: Mon, 08 Sep 2008 22:13:55 +0200 From: Pav Lucistnik <pav@FreeBSD.org> To: Zach Metzinger <zmetzing@pobox.com> Cc: freebsd-ports@FreeBSD.org Subject: Re: ports patch for comm/rxtx Message-ID: <1220904835.9996.9.camel@ikaros.oook.cz> In-Reply-To: <20080908193315.GA22691@raster> References: <20080908193315.GA22691@raster>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-Keb3s6EeVNi2BxKeHjg0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Zach Metzinger p=ED=B9e 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=20 > patches to fix the issue. >=20 > Unpatched, the port does not indicate an error, but the installation fail= s > (no files installed). If installed by hand at this point, programs using=20 > rxtx fail due to: >=20 > java.lang.UnsatisfiedLinkError: gnu.io.RXTXCommDriver.nativeGetVersion()L= java/lang/String; thrown while loading gnu.io.RXTXCommDriver This looks useful. Let me test and commit it. > --- Zach >=20 > *** configure+ Mon Sep 8 14:22:44 2008 > --- configure Mon Sep 8 14:23:16 2008 > *************** > *** 21611,21617 **** > TARGETLIB=3D"\$(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=3D".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name R= XTXcomm.jar |head -n1` > RXTX_PATH=3D"\$(JPATH)/jre/lib/\$(OS_ARCH)" > --- 21611,21617 ---- > TARGETLIB=3D"\$(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=3D".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name R= XTXcomm.jar |head -n1` > RXTX_PATH=3D"\$(JPATH)/jre/lib/\$(OS_ARCH)" >=20 > *** configure.in+ Mon Sep 8 14:22:51 2008 > --- configure.in Mon Sep 8 14:23:25 2008 > *************** > *** 533,539 **** > TARGETLIB=3D"\$(target_triplet)/librxtxSerial.la \ > \$(target_triplet)/librxtxParallel.la" > case $JAVA_VERSION in > ! 1.2*|1.3*|1.4*|1.5*)=20 > #fix_parameters $JPATH/jre/lib/javax.comm.properties > CLASSPATH=3D".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name R= XTXcomm.jar |head -n1` > RXTX_PATH=3D"\$(JPATH)/jre/lib/\$(OS_ARCH)" > --- 533,539 ---- > TARGETLIB=3D"\$(target_triplet)/librxtxSerial.la \ > \$(target_triplet)/librxtxParallel.la" > case $JAVA_VERSION in > ! 1.2*|1.3*|1.4*|1.5*|1.6*)=20 > #fix_parameters $JPATH/jre/lib/javax.comm.properties > CLASSPATH=3D".:\$(TOP):\$(TOP)/src:"`find $JPATH/ -name R= XTXcomm.jar |head -n1` > RXTX_PATH=3D"\$(JPATH)/jre/lib/\$(OS_ARCH)" > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=20 Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> Your sig line (k) was stolen! -more- There is a puff of smoke! --=-Keb3s6EeVNi2BxKeHjg0 Content-Type: application/pgp-signature; name=signature.asc Content-Description: 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?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkjFh4MACgkQntdYP8FOsoL1JwCfXWNpOI0hXC/tJRXiBQ4+Pv0L P5sAnAhuHFiL8jmXOFLqvlY05Fg5nLF4 =xZdQ -----END PGP SIGNATURE----- --=-Keb3s6EeVNi2BxKeHjg0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1220904835.9996.9.camel>