Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50614 - quake3-1.32b-r3.ebuild cosmetic error
Summary: quake3-1.32b-r3.ebuild cosmetic error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High trivial
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 02:47 UTC by Dizzy
Modified: 2004-05-10 03:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dizzy 2004-05-10 02:47:47 UTC
Hi

Please apply this little patch to quake3-1.32b-r3.ebuild to fix it:
# diff -u quake3-1.32b-r3.ebuild quake3-1.32b-r4.ebuild 
--- quake3-1.32b-r3.ebuild      2004-04-20 01:07:11.000000000 +0300
+++ quake3-1.32b-r4.ebuild      2004-05-10 12:50:14.178101048 +0300
@@ -32,7 +32,7 @@
 }
 
 src_install() {
-       local dir=${GAMES_PREFIX_OPT}/${PN}
+       dir=${GAMES_PREFIX_OPT}/${PN}
        dodir ${dir}
 
        insinto ${dir}/baseq3



Reasoning: defining dir local to src_install() and then using it later into pkg_postinst() isnt good:

pkg_postinst() {
        games_pkg_postinst

        einfo "You need to copy pak0.pk3 from your Quake3 CD into ${dir}/baseq3."
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-05-10 02:54:48 UTC
Fixed in CVS.  Thanks for the bug report.