Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82585 Details for
Bug 126835
games-puzzle/flobopuyo: respect *FLAGS and add opengl useflag
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ebuild patch
flobopuyo-ebuild.patch (text/plain), 1.22 KB, created by
Diego Elio Pettenò (RETIRED)
on 2006-03-19 10:24:04 UTC
(
hide
)
Description:
Ebuild patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2006-03-19 10:24:04 UTC
Size:
1.22 KB
patch
obsolete
>--- /home/flame/devel/gentoo-x86/games-puzzle/flobopuyo/flobopuyo-0.20.ebuild 2006-03-12 13:15:45.000000000 +0100 >+++ flobopuyo-0.20.ebuild 2006-03-19 19:13:38.000000000 +0100 >@@ -11,12 +11,12 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="x86 ppc ~amd64" >-IUSE="" >+IUSE="opengl" > > DEPEND="media-libs/libsdl > media-libs/sdl-image > media-libs/sdl-mixer >- virtual/opengl" >+ opengl? ( virtual/opengl )" > > src_unpack() { > unpack ${A} >@@ -24,19 +24,26 @@ > > epatch \ > "${FILESDIR}"/${P}-gcc4.patch \ >- "${FILESDIR}"/${P}-gcc41.patch >+ "${FILESDIR}"/${P}-gcc41.patch \ >+ "${FILESDIR}"/${P}-libs.patch > > find . -type f -name ".*" -exec rm -f \{\} \; > sed -i \ > -e "/strip/d" \ > -e "s:^DATADIR=.*:DATADIR=\"${GAMES_DATADIR}/${PN}\":" \ > -e "/^INSTALL_BINDIR/s:/\$(PREFIX)/games:${GAMES_BINDIR}:" \ >- -e "/^CC=/s/g++/$(tc-getCXX)/" \ >- -e "/^CXX=/s/g++/$(tc-getCXX)/" \ >+ -e "s:^CFLAGS=:CFLAGS+=:" \ >+ -e "/^LDFLAGS=/d" \ > Makefile \ > || die "sed failed" > } > >+src_compile() { >+ use opengl && want_opengl=true || want_opengl=false >+ emake CC="$(tc-getCXX)" CXX="$(tc-getCXX)" \ >+ ENABLE_OPENGL="${want_opengl}" || die "emake failed" >+} >+ > src_install() { > make DESTDIR="${D}" install || die "make install failed" > dodoc Changelog TODO
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126835
: 82585 |
82586