diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2016-02-20 23:41:55 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-02-20 23:46:07 +0100 |
commit | 9f8c65bb6b6be0197cd39c3f3573064d5881b5bc (patch) | |
tree | ca562b314ef4e3fecdbf3b6147228444454a7cc5 /package/libsoil | |
parent | ea4266211d7e9268cc8bf04f986abaa1135d48a2 (diff) |
package/libsoil: add a comment about why we rename the Makefile
Commit 8461906d (package/libsoil: fix build using old versions of patch)
added a workaround for older patch versions, but didn't add any comment in
the .mk file explaining why this is done.
Add a comment explaining why for clarity.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libsoil')
-rw-r--r-- | package/libsoil/libsoil.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libsoil/libsoil.mk b/package/libsoil/libsoil.mk index 99a47f6de..efa67d9ee 100644 --- a/package/libsoil/libsoil.mk +++ b/package/libsoil/libsoil.mk @@ -18,6 +18,10 @@ define LIBSOIL_EXTRACT_CMDS mv $(@D)/Simple\ OpenGL\ Image\ Library/* $(@D) endef +# gnu patch < v2.5.9 doesn't correctly handle spaces in file names, +# and we want to patch the 'alternate Makefile.txt' file, so rename +# the file (and patch the renamed file) for compatibility with older +# distributions define REMOVE_SPACE_FROM_FILENAME cd $(@D)/projects/makefile/ && \ mv "alternate Makefile.txt" alternate_Makefile.txt |