patches/glibc/2.12.1/920-make-382.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Apr 26 19:55:59 2012 -0600 (2012-04-26)
changeset 2939 58974be61289
permissions -rw-r--r--
Allow multi-word "install" command.

Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:

# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"

# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory

# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
     1 http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob_plain;f=source/base/glibc/make-3.82-fix.patch;hb=8217c32ecc2e14962847ba3d8a272eb64a3dba4f
     2 
     3 --- glibc-2.10.1.OLD/manual/Makefile
     4 +++ glibc-2.10.1.NEW/manual/Makefile
     5 @@ -232,7 +232,9 @@
     6  .PHONY: stubs
     7  stubs: $(objpfx)stubs
     8  endif
     9 -$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
    10 +$(objpfx)stubs ../po/manual.pot:
    11 +	touch $@
    12 +$(objpfx)stamp%:
    13  	$(make-target-directory)
    14  	touch $@
    15