Bug 130504 - games-puzzle/ngstar-2.1.8 installs in /usr/games/share/
Bug#: 130504 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: flash3001@yahoo.com
Component: Games
URL: 
Summary: games-puzzle/ngstar-2.1.8 installs in /usr/games/share/
Keywords:  
Status Whiteboard: 
Opened: 2006-04-19 11:40 0000
Description:   Opened: 2006-04-19 11:40 0000
games-puzzle/ngstar-2.1.8 installs in /usr/games/share/. The correct path is
/usr/share/games/

As a side note, two other games I know that have the same problem are
circuslinux and ultimatestunts:
cloud ngstar # ls /usr/games/share/
doc  ultimatestunts
cloud ngstar # ls /usr/games/share/doc/
circuslinux-1.0.3

------- Comment #1 From Alexandru Toma 2006-04-19 11:42:15 0000 -------
Created an attachment (id=84973) [details]
ngstar-2.1.8.ebuild.patch

I also added the user's CXXFLAGS and a static USE flag

------- Comment #2 From Tupone Alfredo 2006-04-19 13:31:40 0000 -------
path fixed in portage. Thanks for report

------- Comment #3 From Alexandru Toma 2006-04-19 14:45:12 0000 -------
Your fix is a lot more elegant than the hack I submited.

However, is there a reason the CXXFLAGS and static USE flag stuff was dropped?

------- Comment #4 From Tupone Alfredo 2006-04-19 15:20:33 0000 -------
(In reply to comment #3)
> Your fix is a lot more elegant than the hack I submited.
ty
> 
> However, is there a reason the CXXFLAGS and static USE flag stuff was dropped?
> 

There is always a reason:
personally I don't see a reason why we should choose to build static. If it
come alongs, I will put that. I prefer keeping it simple.

And for the CXXFLAGS, I was too much taken on fixing the path, that I simply
forgot. I realized just after commit.

------- Comment #5 From Alexandru Toma 2006-04-19 15:52:13 0000 -------
> There is always a reason:
> personally I don't see a reason why we should choose to build static. If it
> come alongs, I will put that. I prefer keeping it simple.

For games, I have to agree with you, though I do use the static USE flag for
some utilities. When I put that in I just thought about giving people more
options (since this is Gentoo after all ;), but you're right... it's not
essential.

> And for the CXXFLAGS, I was too much taken on fixing the path, that I simply
> forgot. I realized just after commit.

If the static issue is not that important, I think this is pretty important for
several reasons, the biggest being control: having a package build with some
use flags that are outside your control is not a very good idea IMO. So even if
you decide against the static USE flag, please fix this issue.

------- Comment #6 From Tupone Alfredo 2006-04-19 16:28:24 0000 -------
I will fix compiler flags

------- Comment #7 From Alexandru Toma 2006-04-22 15:34:48 0000 -------
You should also inherit eutils in ngstar-2.1.8-r1.ebuild since you use epatch.

------- Comment #8 From Tupone Alfredo 2006-06-01 13:40:18 0000 -------
Compiler flags fixed. Thanks