summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2004-06-29 21:53:28 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2004-06-29 21:53:28 +0000
commitae81399694fcc7bb929bc60dacc7359981109fbc (patch)
tree346cce54ba7e449e7bc4ba2627c71637c3abdedc /dev-ml/lablgl
parentBump (Manifest recommit) (diff)
downloadgentoo-2-ae81399694fcc7bb929bc60dacc7359981109fbc.tar.gz
gentoo-2-ae81399694fcc7bb929bc60dacc7359981109fbc.tar.bz2
gentoo-2-ae81399694fcc7bb929bc60dacc7359981109fbc.zip
Fix compile error when glut flag is not set (bug #41761)
Diffstat (limited to 'dev-ml/lablgl')
-rw-r--r--dev-ml/lablgl/ChangeLog5
-rw-r--r--dev-ml/lablgl/lablgl-1.00.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-ml/lablgl/ChangeLog b/dev-ml/lablgl/ChangeLog
index 631298527d4a..631882c33212 100644
--- a/dev-ml/lablgl/ChangeLog
+++ b/dev-ml/lablgl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ml/lablgl
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.21 2004/06/25 00:01:50 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/ChangeLog,v 1.22 2004/06/29 21:53:28 mattam Exp $
+
+ 29 Jun 2004; Matthieu Sozeau <mattam@gentoo.org> lablgl-1.00.ebuild:
+ Fix makefile, when glut flag is not set, there's no need to link with glut.
08 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> lablgl-1.00.ebuild:
Stable on alpha.
diff --git a/dev-ml/lablgl/lablgl-1.00.ebuild b/dev-ml/lablgl/lablgl-1.00.ebuild
index 0d5cf2518cab..989e56216c6c 100644
--- a/dev-ml/lablgl/lablgl-1.00.ebuild
+++ b/dev-ml/lablgl/lablgl-1.00.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/lablgl-1.00.ebuild,v 1.8 2004/06/25 00:01:50 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgl/lablgl-1.00.ebuild,v 1.9 2004/06/29 21:53:28 mattam Exp $
IUSE="tcltk glut doc"
@@ -39,6 +39,10 @@ src_compile() {
# make configuration file
cp ${FILESDIR}/${P}-Makefile.config ${S}/Makefile.config || die
+ if ! (use glut); then
+ sed -i "s/-lglut//" Makefile.config
+ fi
+
use tcltk && make && make opt
use glut && make glut glutopt