[kaffe] xargs -i

Ito Kazumitsu kaz at maczuka.gcd.org
Mon Aug 22 09:17:47 PDT 2005


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.

More information about the kaffe mailing list