[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] [Chicken-hackers] [PATCH] Fix MAKEDIR_COMMAND when I
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] [Chicken-hackers] [PATCH] Fix MAKEDIR_COMMAND when INSTALL_PROGRAM is set |
Date: |
Thu, 18 Jun 2015 07:05:21 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jun 12, 2015 at 04:16:30PM +0200, Michele La Monaca wrote:
> Hi,
>
> I've noticed that INSTALL_PROGRAM is not used to create directories.
> The attached patch fixes this behavior.
I was testing on Mingw with MSYS and noticed that this change caused the
installation to break on that platform.
Turns out the Makefile for mingw-msys sets INSTALL_PROGRAM to 'cp',
but it doesn't specify MAKEDIR_COMMAND, so it will happily try to
invoke "cp -d -m 755 /path/to/chicken".
Attached is a fix for this platform. Please apply to master and
chicken-5.
Cheers,
Peter
0001-Fix-Mingw-MSYS-build-mkdir-program-was-not-set-and-i.patch
Description: Text Data
signature.asc
Description: Digital signature