From 7dbd188d0f03d51e44a8c35e29773528875ef332 Mon Sep 17 00:00:00 2001 From: Christian Heim Date: Sun, 18 Feb 2007 16:24:14 +0000 Subject: Fixing breakage w/ fdesign/Makefile.am and lib/Makefile.am (eleminating the remaining commented out lines, that make automake fail badly) thanks to Fabian Groffen and Bo Orsted Andresen in #161857. (Portage version: 2.1.2-r9) --- x11-libs/xforms/xforms-1.0.90-r1.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'x11-libs/xforms/xforms-1.0.90-r1.ebuild') diff --git a/x11-libs/xforms/xforms-1.0.90-r1.ebuild b/x11-libs/xforms/xforms-1.0.90-r1.ebuild index 14f2c015e455..cca7b7d77f44 100644 --- a/x11-libs/xforms/xforms-1.0.90-r1.ebuild +++ b/x11-libs/xforms/xforms-1.0.90-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-1.0.90-r1.ebuild,v 1.8 2006/11/22 17:44:14 masterdriverz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/xforms/xforms-1.0.90-r1.ebuild,v 1.9 2007/02/18 16:24:14 phreak Exp $ inherit autotools @@ -28,14 +28,18 @@ DEPEND=" || ( src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-as-needed.patch - eautoreconf || die 'eautoreconf failed' + cd "${S}" + + epatch "${FILESDIR}"/${P}-as-needed.patch + epatch "${FILESDIR}"/${P}-Makefile.am.patch + + eautoreconf } src_compile () { local myopts - if ! use opengl; then myopts="--disable-gl"; fi + use opengl || myopts="--disable-gl" + econf ${myopts} || die "econf failed" emake || die "emake failed" } -- cgit v1.2.3-65-gdbad