summaryrefslogtreecommitdiff
path: root/sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/vmd/vmd-1.9.4_alpha43.ebuild')
-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)