1 |
commit: 778a2190f783058901a615d9483438fa41834443 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 18:50:43 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 20:31:37 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=778a2190 |
7 |
|
8 |
games-strategy/defcon-demo: add libsdl use deps; tidy |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
games-strategy/defcon-demo/defcon-demo-1.60.ebuild | 8 +++----- |
13 |
1 file changed, 3 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/games-strategy/defcon-demo/defcon-demo-1.60.ebuild b/games-strategy/defcon-demo/defcon-demo-1.60.ebuild |
16 |
index 174b6fc..811ba4a 100644 |
17 |
--- a/games-strategy/defcon-demo/defcon-demo-1.60.ebuild |
18 |
+++ b/games-strategy/defcon-demo/defcon-demo-1.60.ebuild |
19 |
@@ -31,7 +31,7 @@ RDEPEND=" |
20 |
x11-libs/libXau |
21 |
x11-libs/libXext |
22 |
x11-libs/libXdmcp |
23 |
- system-libs? ( media-libs/libsdl )" |
24 |
+ system-libs? ( media-libs/libsdl[sound,video] )" |
25 |
DEPEND="" |
26 |
|
27 |
QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/lib/${MY_PN}.bin.x86" |
28 |
@@ -55,10 +55,8 @@ src_prepare() { |
29 |
fi |
30 |
sed \ |
31 |
-e "s:GAMEDIR:${GAMES_PREFIX_OPT}/${PN}:g" \ |
32 |
- "${FILESDIR}"/${MY_PN} > "${T}"/${MY_PN} \ |
33 |
- || die "sed failed" |
34 |
- echo "int chdir(const char *d) { return 0; }" > chdir.c \ |
35 |
- || die "echo failed" |
36 |
+ "${FILESDIR}"/${MY_PN} > "${T}"/${MY_PN} || die |
37 |
+ echo "int chdir(const char *d) { return 0; }" > chdir.c || die |
38 |
} |
39 |
|
40 |
src_compile() { |