mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-18 14:17:03 +01:00
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 <wk@gnupg.org>
This commit is contained in:
parent
2b78223d75
commit
9ea258fa5b
@ -866,9 +866,13 @@ $(stampdir)/stamp-$(1)-00-unpack: $(stampdir)/stamp-directories
|
|||||||
| sed -e 's,\.tar.*$$$$,,'`; \
|
| sed -e 's,\.tar.*$$$$,,'`; \
|
||||||
mv $$$${base} $(1); \
|
mv $$$${base} $(1); \
|
||||||
patch="$(patdir)/$(1)-$$$${base#$(1)-}.patch";\
|
patch="$(patdir)/$(1)-$$$${base#$(1)-}.patch";\
|
||||||
|
patchx="$(patdir)/$(1).patch"; \
|
||||||
if [ -x "$$$${patch}" ]; then \
|
if [ -x "$$$${patch}" ]; then \
|
||||||
echo "speedo: applying patch $$$${patch}"; \
|
echo "speedo: applying patch $$$${patch}"; \
|
||||||
cd $(1); "$$$${patch}"; \
|
cd $(1); "$$$${patch}"; \
|
||||||
|
elif [ -x "$$$${patchx}" ]; then \
|
||||||
|
echo "speedo: applying patch $$$${patchx}";\
|
||||||
|
cd $(1); "$$$${patchx}"; \
|
||||||
elif [ -f "$$$${patch}" ]; then \
|
elif [ -f "$$$${patch}" ]; then \
|
||||||
echo "speedo: warning: $$$${patch} is not executable"; \
|
echo "speedo: warning: $$$${patch} is not executable"; \
|
||||||
fi; \
|
fi; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user