aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-02-05 14:30:29 -0700
committerChristoph Junghans <ottxor@gentoo.org>2012-02-05 14:30:29 -0700
commit102b939a8f676888380ae1c02e7c96f11589022e (patch)
tree22640c9f62a8ad7abbb0c975f70599e6cdf6b56d /sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
parentmedia-gfx/brlcad: version bumped 7.20.4 (diff)
downloadsci-102b939a8f676888380ae1c02e7c96f11589022e.tar.gz
sci-102b939a8f676888380ae1c02e7c96f11589022e.tar.bz2
sci-102b939a8f676888380ae1c02e7c96f11589022e.zip
handle new vmd detection
(Portage version: 2.2.0_alpha85/git/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-4.6.9999.ebuild')
-rw-r--r--sci-chemistry/gromacs/gromacs-4.6.9999.ebuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
index 2ce38b697..99b5c2b00 100644
--- a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
@@ -146,6 +146,7 @@ src_configure() {
-DGMX_DEFAULT_SUFFIX=off
-DGMX_ACCELERATION="$acce"
-DGMXLIB="$(get_libdir)"
+ -DGMX_VMD_PLUGIN_PATH="${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/"
)
for x in ${GMX_DIRS}; do
@@ -200,10 +201,6 @@ src_install() {
cmake-utils_src_make install-mdrun DESTDIR="${D}"
done
- sed -n -e '/^GMXBIN/,/^GMXDATA/p' "${ED}"/usr/bin/GMXRC.bash > "${T}/80gromacs"
- echo "VMD_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/vmd/plugins/*/molfile/" >> "${T}/80gromacs"
-
- doenvd "${T}/80gromacs"
rm -f "${ED}"/usr/bin/GMXRC*
newbashcomp "${ED}"/usr/bin/completion.bash ${PN}