Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 309199 Details for
Bug 335148
games-action/teeworlds does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for teeworlds-0.6.1.ebuild
teeworlds-0.6.1-r1.patch (text/plain), 1.23 KB, created by
Alec Moskvin
on 2012-04-17 00:10:10 UTC
(
hide
)
Description:
Patch for teeworlds-0.6.1.ebuild
Filename:
MIME Type:
Creator:
Alec Moskvin
Created:
2012-04-17 00:10:10 UTC
Size:
1.23 KB
patch
obsolete
>--- teeworlds-0.6.1.ebuild 2012-04-16 17:58:18.188155955 -0400 >+++ teeworlds-0.6.1-r1.ebuild 2012-04-16 17:54:22.842172222 -0400 >@@ -6,7 +6,7 @@ > > PYTHON_DEPEND="2" > >-inherit eutils python games >+inherit eutils python toolchain-funcs games > > REVISION="b177-r50edfd37" > >@@ -43,6 +43,21 @@ > # 01 & 02 from pull request: https://github.com/oy/teeworlds/pull/493 > EPATCH_SOURCE="${FILESDIR}/${PV}" EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \ > epatch >+ >+ cat <<- __EOF__ > "${S}/gentoo.lua" >+ function addSettings(settings) >+ print("Adding Gentoo settings") >+ settings.optimize = 0 >+ settings.cc.exe_c = "$(tc-getCC)" >+ settings.cc.exe_cxx = "$(tc-getCXX)" >+ settings.cc.flags_c:Add("${CFLAGS}") >+ settings.cc.flags_cxx:Add("${CXXFLAGS}") >+ settings.link.exe = "$(tc-getCXX)" >+ settings.link.flags:Add("${LDFLAGS}") >+ end >+ __EOF__ >+ >+ sed -i -e '/^function build(settings)/a dofile("gentoo.lua") addSettings(settings)' bam.lua > } > > src_configure() { >@@ -65,7 +80,10 @@ > fi > fi > >- bam ${myopt} || die "bam failed" >+ # Taken from the libreoffice-3.5.2.2 ebuild >+ local jobs=$(sed -ne 's/.*\(-j[[:space:]]*\|--jobs=\)\([[:digit:]]\+\).*/\2/;T;p' <<< "${MAKEOPTS}") >+ >+ bam -a -j ${jobs} ${myopt} || die "bam failed" > } > > src_install() {
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 335148
:
245253
| 309199