summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/vegastrike/vegastrike-9999.ebuild')
-rw-r--r--games-simulation/vegastrike/vegastrike-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games-simulation/vegastrike/vegastrike-9999.ebuild b/games-simulation/vegastrike/vegastrike-9999.ebuild
index 1c6f42d..921010f 100644
--- a/games-simulation/vegastrike/vegastrike-9999.ebuild
+++ b/games-simulation/vegastrike/vegastrike-9999.ebuild
@@ -81,9 +81,11 @@ src_unpack() {
Makefile.am \
|| die "sed Makefile.am failed"
- # FIXME: vssetup doesn't find "readme.txt"
- # from vegastrike/setup/src/include/display_gtk.cpp +69
- # execlp("less", "less","readme.txt", NULL); //Will this work in Linux?
+ # vssetup doesn't find "readme.txt"
+ sed -i \
+ "s!\"readme.txt\"! \"${GAMES_DATADIR}/${PN}/data/documentation/readme.txt\"!" \
+ setup/src/include/display_gtk.cpp \
+ || die "sed setup/src/include/display_gtk.cpp failed"
# FIXME: is this still a problem?
# is not possible here to use built in function subversion_bootstrap: it
@@ -171,6 +173,4 @@ pkg_postinst() {
einfo "then run vegastrike to start Vega Strike;"
einfo "Run vssetup to configure Vega Strike."
einfo "To start Vega Strike Server run vegaserver."
- einfo "(FIXME: vssetup/vsinstall currently won't find readme.txt."
- einfo " It's in ${GAMES_DATADIR}/${PN}/data/documentation/.)"
}