summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-03-22 18:44:02 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-03-22 18:44:02 +0100
commit4fe120c19d98f5416bc359513cb4125d927c0f71 (patch)
tree1d99c675bb7fa76e8f24db80021783feef6b5db1 /dev-ml
parentdev-lang/python: stable 3.10.3 for hppa, bug #835444 (diff)
downloadgentoo-4fe120c19d98f5416bc359513cb4125d927c0f71.tar.gz
gentoo-4fe120c19d98f5416bc359513cb4125d927c0f71.tar.bz2
gentoo-4fe120c19d98f5416bc359513cb4125d927c0f71.zip
dev-ml/ocamlsdl: respect opengl USE
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocamlsdl/metadata.xml5
-rw-r--r--dev-ml/ocamlsdl/ocamlsdl-0.9.1.ebuild6
2 files changed, 10 insertions, 1 deletions
diff --git a/dev-ml/ocamlsdl/metadata.xml b/dev-ml/ocamlsdl/metadata.xml
index 2ce0fe2f56d9..081e3c7960e1 100644
--- a/dev-ml/ocamlsdl/metadata.xml
+++ b/dev-ml/ocamlsdl/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<upstream>
<remote-id type="sourceforge">ocamlsdl</remote-id>
</upstream>
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() {