--- vmd-1.8.7-r2.ebuild.orig 2010-10-20 22:05:14.000000000 +0200 +++ vmd-1.8.7-r2.ebuild 2010-10-20 22:07:39.000000000 +0200 @@ -155,6 +155,11 @@ # export STRIDE_BIN so VMD knows where to find stride echo "STRIDE_BIN=${EPREFIX}/usr/bin/stride" > "${T}"/99${PN} || \ die "Failed to create vmd env file" + + # export VMD_PLUGIN_PATH so that other packages can find them + echo "VMD_PLUGIN_PATH=${EPREFIX}/usr/lib/vmd/plugins/LINUX/molfile" >> "${T}"/99${PN} || \ + die "Failed to create vmd env file" + doenvd "${T}"/99${PN} || die "Failed to install vmd env file" # install docs