Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84364

Summary: games-action/fakk2 does not honor GAMES_PREFIX_OPT correctly
Product: Gentoo Linux Reporter: Eddward
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Eddward 2005-03-06 20:18:15 UTC
the ebuild has hard coded references to /opt/fakk2.

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


Actual Results:  
I don't any actual output since it failed and a fixed it yesterday. 
I could recreate if it's needed.

Expected Results:  
See note in "Actual Results"

A diff -U3 between my working ebuild and the one in portage is below.  
-------------------------------------------------------------------
--- /usr/portage/games-action/fakk2/fakk2-1.02.ebuild   2004-06-29
21:35:46.000000000 -0500
+++ fakk2-1.02.ebuild   2005-03-05 23:41:26.000000000 -0600
@@ -35,15 +35,19 @@
 src_install() {
        dodir ${dir}
        einfo "Copying files... this may take a while..."
-       exeinto /opt/fakk2
+       #exeinto /opt/fakk2
+       exeinto ${dir}
        doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk2
-       insinto /opt/fakk2
+       #insinto /opt/fakk2
+       insinto ${dir}
        doins ${CDROM_ROOT}/{README,icon.{bmp,xpm}}
        dodir ${dir}/fakk
-       exeinto /opt/fakk2/fakk
+       #exeinto /opt/fakk2/fakk
+       exeinto ${dir}/fakk
        doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
        if use nocd ; then
-               insinto /opt/fakk2/fakk
+               #insinto /opt/fakk2/fakk
+               insinto ${dir}/fakk
                doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
        fi
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-07 06:07:58 UTC
Fixed in CVS... thanks for the bug report...