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

Bug 101202

Summary: games-action/fakk2 ebuild typo and fix
Product: Gentoo Linux Reporter: Peter Gantner (a.k.a. nephros) <gentoo>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Gantner (a.k.a. nephros) 2005-08-03 06:54:09 UTC
I doubt anyone is still interested in this game, nevertheless, the current 
ebuild contains a typo hat makes the install nonfunctional with nocd USE flag 
set. (It installs the *pak files into /opt/fakk2fakk instead of /opt/fakk2/fakk)
Also, the config file is not copied with "nocd" set so fakk2 won't start, here's 
the fix for that too:

--- fakk2-1.02.ebuild.orig      2005-08-03 09:57:07.000000000 +0200
+++ fakk2-1.02.ebuild   2005-08-03 09:56:08.000000000 +0200
@@ -43,8 +43,9 @@
        exeinto ${dir}/fakk
        doexe ${CDROM_ROOT}/bin/x86/glibc-2.1/fakk/{c,f}game.so
        if use nocd ; then
-               insinto ${dir}fakk
+               insinto ${dir}/fakk
                doins ${CDROM_ROOT}/fakk/pak{0,1,2,3}.pk3
+               doins ${CDROM_ROOT}/fakk/default.cfg
        fi

        # now, since these files are coming off a cd, the times/sizes/md5sums 
wont


Reproducible: Always
Steps to Reproduce:
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-08-03 07:20:39 UTC
Fixed in CVS... emerge sync and try again...