diff options
Diffstat (limited to 'app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild')
-rw-r--r-- | app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild b/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild index b010d25d2c01..f676e898131f 100644 --- a/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild +++ b/app-emacs/gnuplot-mode/gnuplot-mode-0.8.1.ebuild @@ -18,11 +18,20 @@ IUSE="doc" BDEPEND="doc? ( virtual/latex-base )" RDEPEND="sci-visualization/gnuplot" +PATCHES=( "${FILESDIR}"/${PN}-0.8.0-tests.patch ) + SITEFILE="50${PN}-gentoo.el" DOCS=(CHANGELOG.org README.org) DOC_CONTENTS="Please see ${SITELISP}/${PN}/gnuplot.el for the complete documentation." +src_prepare() { + elisp_src_prepare + + # Erase broken tests + echo "(provide 'gnuplot-test-context)" > gnuplot-test-context.el || die +} + src_compile() { elisp_src_compile use doc && { pdflatex gpelcard || die; } |