Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 167438 | Differences between
and this patch

Collapse All | Expand All

(-)yacas-1.0.63.ebuild (-3 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.63.ebuild,v 1.2 2007/01/29 16:09:01 markusle Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/yacas/yacas-1.0.63.ebuild,v 1.2 2007/01/29 16:09:01 markusle Exp $
4
4
5
inherit eutils flag-o-matic
5
inherit autotools eutils flag-o-matic
6
6
7
IUSE="glut server"
7
IUSE="glut server"
8
8
Lines 23-33 Link Here
23
src_unpack() {
23
src_unpack() {
24
	unpack ${A}
24
	unpack ${A}
25
	cd "${S}"
25
	cd "${S}"
26
26
	if ! use glut; then
27
	if ! use glut; then
27
		sed -e 's:opengl::g' -i plugins/Makefile.in || die "sed (opengl) failed"
28
		sed -e 's:opengl::g' -i plugins/Makefile.am || die "sed (opengl) failed"
28
		sed -e 's/\(^PLUGINDOCSCHAPTERS.*\)opengl.chapt\(.*\)/\1 \2/' -i \
29
		sed -e 's/\(^PLUGINDOCSCHAPTERS.*\)opengl.chapt\(.*\)/\1 \2/' -i \
29
		manmake/Makefile.in || die 'sed (manmake) failed'
30
		manmake/Makefile.am || die 'sed (manmake) failed'
30
	fi
31
	fi
32
	
33
	epatch "${FILESDIR}"/${P}-as-needed.patch
34
	eautoreconf
31
}
35
}
32
36
33
src_compile() {
37
src_compile() {

Return to bug 167438