lib: Avoid-writing-to-repository-during-install
Paul Bryan Roberts
pbronline-wine at yahoo.co.uk
Wed Jan 14 01:38:46 CST 2009
In lib/Makefile, the dummy target "version-stamp" fails to build during
make install when the git repository in located on an NFS 3 volume for
which system security policy denies root write access.
During the "install" phase of make install, the make is running as root
in order to copy executables and so forth from the repository to /usr or
where ever. That this involves writing to the repository is
unexpected. However, this happens twice as a temporary file is
generated by the "version-stamp" rule each time the make dependencies
are checked.
With this patch, "version-stamp" rule does not generate a temporary file
and so avoids the failure observed when using the NFS volume. It makes
a minimum of changes to the existing makefile, avoids bashism and so
forth while still determining the version stamp only once.
Tested (aka in use) under Ubuntu hardy since Wine 1.1.10.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-lib-Avoid-writing-to-repository-during-install.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20090114/cfaf124c/attachment-0001.txt
More information about the wine-patches
mailing list