summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild')
-rw-r--r--dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild b/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild
index c14aa02de8a6..cdf46a78f078 100644
--- a/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild
+++ b/dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild
@@ -50,6 +50,12 @@ src_configure() {
econf \
$myconf \
$(use_enable truetype sdl-ttf)
+ if ! use opengl; then
+ sed -i \
+ -e 's:LABLGLDIR:FALSE:' \
+ src/Makefile \
+ || die
+ fi
}
src_install() {