summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/ocamlweb/ocamlweb-1.41.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ml/ocamlweb/ocamlweb-1.41.ebuild b/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
index e8734f05f470..9f050ccea33b 100644
--- a/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
+++ b/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
@@ -12,11 +12,14 @@ SRC_URI="https://www.lri.fr/~filliatr/ftp/ocamlweb/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
DEPEND=">=dev-lang/ocaml-4.08.0:=
virtual/latex-base
- dev-texlive/texlive-latexextra
- "
+ dev-texlive/texlive-latexextra"
+BDEPEND="test? ( dev-tex/hevea )"
PATCHES=(
"${FILESDIR}/${PN}-1.41-strip.patch"
@@ -26,7 +29,7 @@ PATCHES=(
QA_FLAGS_IGNORED=/usr/bin/ocamlweb
src_compile() {
- emake
+ default
}
src_install() {