diff options
author | 2020-09-17 22:58:33 +0200 | |
---|---|---|
committer | 2020-09-17 22:58:33 +0200 | |
commit | 2b8ca2477464d99ddabb7c1da6df8138d44917e7 (patch) | |
tree | 33688a1be3a85055661ab125a9560d2c3185b306 /sci-chemistry | |
parent | app-i18n/uchardet: Update metadata's <bugs-to> (diff) | |
download | gentoo-2b8ca2477464d99ddabb7c1da6df8138d44917e7.tar.gz gentoo-2b8ca2477464d99ddabb7c1da6df8138d44917e7.tar.bz2 gentoo-2b8ca2477464d99ddabb7c1da6df8138d44917e7.zip |
sci-chemistry/vmd: Allow to apply user patches in plugins
Bug: https://bugs.gentoo.org/show_bug.cgi?id=741978
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild b/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild index 6ff1210c5426..8ffb5a090074 100644 --- a/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild +++ b/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild @@ -78,11 +78,15 @@ pkg_nofetch() { } src_prepare() { + # Apply user patches from ${WORKDIR} to allow patching on patches + # subdir too + cd "${WORKDIR}" xdg_src_prepare use cuda && cuda_sanitize - cd "${WORKDIR}"/plugins || die + # Prepare plugins + cd plugins || die sed '/^.SILENT/d' -i $(find -name Makefile) |