When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Jbigkit includes libjbig, a C Library for JBIG1 images, and two CLI
programs called pbmtojbg and jbgtopbm. Jbigkit builds without a
'configure' using only a Makefile that gets patched by the formula
with good CCFLAGS. The makefile comes set with CC = gcc, and it
overrides all relevant compiler variables except MAKEFLAGS with
very good results. The jbigkit formula builds a universal library,
but the makefile is only written to create a static one. There is
no make install function to date. The library has no dependencies,
but it can be used by libtiff, which will automatically find it
during libtiff's configure. Jbigkit was tested on Mac OSX 10.6.8,
with a 64bit kernel, and gcc-4.2.1.
ClosesHomebrew/homebrew#7699.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>