diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-29 13:50:43 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-29 15:31:37 -0500 |
commit | 778a2190f783058901a615d9483438fa41834443 (patch) | |
tree | 860e4d8f393219f99f7d2e1f63879662ba6342e8 /games-strategy/defcon-demo | |
parent | sys-kernel/genkernel: bumping to stable to solve releng and user issues, no r... (diff) | |
download | gentoo-778a2190f783058901a615d9483438fa41834443.tar.gz gentoo-778a2190f783058901a615d9483438fa41834443.tar.bz2 gentoo-778a2190f783058901a615d9483438fa41834443.zip |
games-strategy/defcon-demo: add libsdl use deps; tidy
Package-Manager: portage-2.2.24
Diffstat (limited to 'games-strategy/defcon-demo')
-rw-r--r-- | games-strategy/defcon-demo/defcon-demo-1.60.ebuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/games-strategy/defcon-demo/defcon-demo-1.60.ebuild b/games-strategy/defcon-demo/defcon-demo-1.60.ebuild index 174b6fcb05c6..811ba4a04734 100644 --- a/games-strategy/defcon-demo/defcon-demo-1.60.ebuild +++ b/games-strategy/defcon-demo/defcon-demo-1.60.ebuild @@ -31,7 +31,7 @@ RDEPEND=" x11-libs/libXau x11-libs/libXext x11-libs/libXdmcp - system-libs? ( media-libs/libsdl )" + system-libs? ( media-libs/libsdl[sound,video] )" DEPEND="" QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/lib/${MY_PN}.bin.x86" @@ -55,10 +55,8 @@ src_prepare() { fi sed \ -e "s:GAMEDIR:${GAMES_PREFIX_OPT}/${PN}:g" \ - "${FILESDIR}"/${MY_PN} > "${T}"/${MY_PN} \ - || die "sed failed" - echo "int chdir(const char *d) { return 0; }" > chdir.c \ - || die "echo failed" + "${FILESDIR}"/${MY_PN} > "${T}"/${MY_PN} || die + echo "int chdir(const char *d) { return 0; }" > chdir.c || die } src_compile() { |