Ito Kazumitsu wrote:
> Hi,
>
> The following line Makefile.am causes error on FreeBSD.
>
> echo
> KAFFELIBRARYPATH=\$${KAFFELIBRARYPATH+\"\$$KAFFELIBRARYPATH\"\''$(PATHSEP)'\'}`for
> f in $(JAVA_LIBS); do echo "$$f" | sed 's%/[^/]*$$%%' | xargs -n 1 -iXXX
> echo XXX"/.libs"; done | (tr '\012' ' '; echo) | sed -e 's/ $$//' -e "s/
> /\'$(PATHSEP)\'/g"`\; export KAFFELIBRARYPATH >> BUILD_ENVIRONMENT.new; \
>
> xargs -i is specific to GNU version of xargs, and FreeBSD's xargs
> does not accept that option. I had to install GNU's findutils-4.2.23
> to make all the tests pass.
I am sorry about that, I already received a patch to fix that using the
apparently more standard -I option.
I've thought about avoiding such bugs in the future, and I think instead
of using a scriptlet, maybe manually listing all the native libraries
necessary to run the test suite in the KAFFELIBRARYPATH variable is a
better choice. I'll try that and check it in if it works for me.
cheers,
dalibor topic
_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe