summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-04 09:42:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-04 09:42:41 +0000
commit1280de5156c8321b90da91cbc43c314e1e6ea75e (patch)
tree1f6157337b1853b68c034126cc37c3dcc32c8e89 /media-libs/sdl-gfx
parentinitial ebuild #14941. (diff)
downloadhistorical-1280de5156c8321b90da91cbc43c314e1e6ea75e.tar.gz
historical-1280de5156c8321b90da91cbc43c314e1e6ea75e.tar.bz2
historical-1280de5156c8321b90da91cbc43c314e1e6ea75e.zip
using filter flags
Diffstat (limited to 'media-libs/sdl-gfx')
-rw-r--r--media-libs/sdl-gfx/ChangeLog5
-rw-r--r--media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/media-libs/sdl-gfx/ChangeLog b/media-libs/sdl-gfx/ChangeLog
index 9036c904bfa5..092f0653db6a 100644
--- a/media-libs/sdl-gfx/ChangeLog
+++ b/media-libs/sdl-gfx/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for media-libs/sdl-gfx
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/ChangeLog,v 1.8 2003/02/12 07:16:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/ChangeLog,v 1.9 2003/03/04 09:42:41 seemant Exp $
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
@@ -11,6 +11,9 @@
*sdl-gfx-2.0.3 (5 Jul 2002)
+ 04 Mar 2003; Seemant Kulleen <seemant@gentoo.org> sdl-gfx-2.0.3.ebuild:
+ filter flags to change the -O to -O2
+
27 Aug 2002; Seemant Kulleen <seemant@gentoo.org> sdl-gfx-2.0.3 :
Removed mmx stuff if not in USE -- which means compilation on non-x86
diff --git a/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild b/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
index b368fcb3f075..c83e9136e423 100644
--- a/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
+++ b/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild
@@ -1,12 +1,14 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild,v 1.9 2003/02/13 12:54:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-gfx/sdl-gfx-2.0.3.ebuild,v 1.10 2003/03/04 09:42:41 seemant Exp $
-MY_P="${P/sdl-/SDL_}"
+inherit flag-o-matic
+
+MY_P=${P/sdl-/SDL_}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Graphics drawing primitives library for SDL"
-SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz"
HOMEPAGE="http://www.ferzkopp.net/Software/SDL_gfx-2.0/"
+SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz"
SLOT="0"
LICENSE="LGPL-2.1"
@@ -14,7 +16,7 @@ KEYWORDS="x86 ppc sparc "
DEPEND=">=media-libs/libsdl-1.2"
-CFLAGS="${CFLAGS} -O2"
+filter-flags "-O?" "-O2"
src_compile() {
local myconf