summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-09-17 22:58:33 +0200
committerPacho Ramos <pacho@gentoo.org>2020-09-17 22:58:33 +0200
commit2b8ca2477464d99ddabb7c1da6df8138d44917e7 (patch)
tree33688a1be3a85055661ab125a9560d2c3185b306
parentapp-i18n/uchardet: Update metadata's <bugs-to> (diff)
downloadgentoo-2b8ca247.tar.gz
gentoo-2b8ca247.tar.bz2
gentoo-2b8ca247.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>
-rw-r--r--sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild6
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)