1 |
commit: e06df615270f2996cb61c00ed2638a05a74e7c38 |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 28 01:55:26 2013 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 28 01:55:26 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=e06df615 |
7 |
|
8 |
Ensure old versions still work when patch does not exist. |
9 |
|
10 |
--- |
11 |
eclass/mysql-autotools.eclass | 3 ++- |
12 |
1 files changed, 2 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/eclass/mysql-autotools.eclass b/eclass/mysql-autotools.eclass |
15 |
index e25035a..fb7ea99 100644 |
16 |
--- a/eclass/mysql-autotools.eclass |
17 |
+++ b/eclass/mysql-autotools.eclass |
18 |
@@ -421,7 +421,8 @@ mysql-autotools_src_prepare() { |
19 |
i='pbxt' |
20 |
[ -d "${i}" ] && rm -rf "${i}" |
21 |
cp -ral "${WORKDIR}/${PBXT_P}" "${i}" |
22 |
- epatch "${WORKDIR}/mysql-extras/pbxt/fix-low-priority.patch" |
23 |
+ f="${WORKDIR}/mysql-extras/pbxt/fix-low-priority.patch" |
24 |
+ [[ -f $f ]] && epatch "$f" |
25 |
popd >/dev/null |
26 |
fi |