diff options
author | Werner Koch <[email protected]> | 2016-05-04 12:31:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-05-04 12:31:46 +0000 |
commit | 9ea258fa5b45bb5454ee3f5906df5d5eebdec0dd (patch) | |
tree | 45551ec1b2d2cbaf43044bef1923a7c02d7a7f8c | |
parent | speedo,w32: Install sqlite (diff) | |
download | gnupg-9ea258fa5b45bb5454ee3f5906df5d5eebdec0dd.tar.gz gnupg-9ea258fa5b45bb5454ee3f5906df5d5eebdec0dd.zip |
speedo: Also try patch files w/o version number.
* build-aux/speedo.mk (SPKG_template): Try such a patch file.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | build-aux/speedo.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk index 2812773c4..d286655c3 100644 --- a/build-aux/speedo.mk +++ b/build-aux/speedo.mk @@ -866,9 +866,13 @@ $(stampdir)/stamp-$(1)-00-unpack: $(stampdir)/stamp-directories | sed -e 's,\.tar.*$$$$,,'`; \ mv $$$${base} $(1); \ patch="$(patdir)/$(1)-$$$${base#$(1)-}.patch";\ + patchx="$(patdir)/$(1).patch"; \ if [ -x "$$$${patch}" ]; then \ echo "speedo: applying patch $$$${patch}"; \ cd $(1); "$$$${patch}"; \ + elif [ -x "$$$${patchx}" ]; then \ + echo "speedo: applying patch $$$${patchx}";\ + cd $(1); "$$$${patchx}"; \ elif [ -f "$$$${patch}" ]; then \ echo "speedo: warning: $$$${patch} is not executable"; \ fi; \ |