1 |
commit: 2b8ca2477464d99ddabb7c1da6df8138d44917e7 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 20:58:33 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 20:58:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8ca247 |
7 |
|
8 |
sci-chemistry/vmd: Allow to apply user patches in plugins |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=741978 |
11 |
Package-Manager: Portage-3.0.7, Repoman-3.0.1 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild | 6 +++++- |
15 |
1 file changed, 5 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild b/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild |
18 |
index 6ff1210c542..8ffb5a09007 100644 |
19 |
--- a/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild |
20 |
+++ b/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild |
21 |
@@ -78,11 +78,15 @@ pkg_nofetch() { |
22 |
} |
23 |
|
24 |
src_prepare() { |
25 |
+ # Apply user patches from ${WORKDIR} to allow patching on patches |
26 |
+ # subdir too |
27 |
+ cd "${WORKDIR}" |
28 |
xdg_src_prepare |
29 |
|
30 |
use cuda && cuda_sanitize |
31 |
|
32 |
- cd "${WORKDIR}"/plugins || die |
33 |
+ # Prepare plugins |
34 |
+ cd plugins || die |
35 |
|
36 |
sed '/^.SILENT/d' -i $(find -name Makefile) |