Fixed the FTBFS for not defining __freebsd_kernel__. New FTBFS: gcc -shared /build/buildd-rxtx_2.2pre2-5-kfreebsd-i386-z7JZih/rxtx-2.2pre2/i486-pc-kfreebsd-gnu/.libs/SerialImp.o /build/buildd-rxtx_2.2pre2-5-kfreebsd-i386-z7JZih/rxtx-2.2pre2/i486-pc-kfreebsd-gnu/.libs/fuserImp.o -lc_r -Wl,-soname -Wl,librxtxSerial-2.2pre1.so -o .libs/librxtxSerial-2.2pre1.so /usr/bin/ld: cannot find -lc_r
-lc_r is removed [1] (try -lpthreads instead?). We are linking to it in [2]. We also need to fix target lib to be shared: 581 TARGETLIB="\$(target_triplet)/librxtxSerial.la \ 582 \$(target_triplet)/librxtxParallel.la" I requested the build-deps to be installed on io.debian.net for porting [1] http://unix.derkeiler.com/Mailing-Lists/FreeBSD/arch/2005-10/0060.html [2] http://git.debian.org/?p=pkg-java/rxtx.git;a=blob;f=configure.in#l578 __ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.