summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-01-25 07:39:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-01-25 07:39:56 +0000
commit1c4d3daaefde50bff403e4834437a59eb1213d1e (patch)
tree1336aa7590e926681c911fd6ae4756f785916589 /media-libs/plib
parentAdded fix for bug 39286 (diff)
downloadgentoo-2-1c4d3daaefde50bff403e4834437a59eb1213d1e.tar.gz
gentoo-2-1c4d3daaefde50bff403e4834437a59eb1213d1e.tar.bz2
gentoo-2-1c4d3daaefde50bff403e4834437a59eb1213d1e.zip
use flag-o-matic
Diffstat (limited to 'media-libs/plib')
-rw-r--r--media-libs/plib/plib-1.6.0.ebuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/media-libs/plib/plib-1.6.0.ebuild b/media-libs/plib/plib-1.6.0.ebuild
index 55ca1ddb79ed..cf2140bf4ad0 100644
--- a/media-libs/plib/plib-1.6.0.ebuild
+++ b/media-libs/plib/plib-1.6.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/plib/plib-1.6.0.ebuild,v 1.9 2004/01/06 22:39:23 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/plib/plib-1.6.0.ebuild,v 1.10 2004/01/25 07:39:56 vapier Exp $
+
+inherit flag-o-matic
DESCRIPTION="multimedia library used by many games"
HOMEPAGE="http://plib.sourceforge.net/"
@@ -14,13 +16,10 @@ DEPEND="sys-devel/autoconf"
RDEPEND="virtual/x11
virtual/glut"
-[ "${ARCH}" = "hppa" ] && export CXXFLAGS="${CXXFLAGS} -fPIC"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- sed -i 's:-O6 ::' configure.in
- autoconf || die
+src_compile() {
+ [ "${ARCH}" = "hppa" ] && append-flags -fPIC
+ econf || die
+ emake || die
}
src_install() {