Bug 84361 - games-fps/soldieroffortune does not honor GAMES_PREFIX_OPT correctly
Bug#: 84361 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: Eddward@gmail.com
Component: Games
URL: 
Summary: games-fps/soldieroffortune does not honor GAMES_PREFIX_OPT correctly
Keywords:  
Status Whiteboard: 
Opened: 2005-03-06 19:17 0000
Description:   Opened: 2005-03-06 19:17 0000
the ebuild has hard coded references to /opt/sof.

Reproducible: Always
Steps to Reproduce:
1.set GAMES_PREFIX_OPT to something other than /opt in the make.conf
2.emerge solderoffortune


Actual Results:  
I'm afraid I don't any actual output since it failed and a fixed it yesterday. 
I'm resyncing portage, so I could recreate if it's really needed.

Expected Results:  
See note in "Actual Results"

A diff -U3 between my working ebuild and the one in portage is below.  (Let me
know if there is a better format to use for diffs.)
-------------------------------------------------------------------

---
/usr/portage/games-fps/soldieroffortune/soldieroffortune-1.06a.ebuild2004-08-07
16:10:18.000000000 -0500
+++ soldieroffortune-1.06a.ebuild       2005-03-05 23:12:07.000000000 -0600
@@ -37,9 +37,11 @@
 src_install() {
        dodir ${dir}
        einfo "Copying files... this may take a while..."
-       exeinto /opt/soldieroffortune
+       #exeinto /opt/soldieroffortune
+       exeinto ${dir}
        doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/sof
-       insinto /opt/soldieroffortune
+       #insinto /opt/soldieroffortune
+       insinto ${dir}
 
        cp ${CDROM_ROOT}/{README,kver.pub,sof.xpm} ${Ddir}

------- Comment #1 From Chris Gianelloni (RETIRED) 2005-03-07 05:55:15 0000 -------
Fixed