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

Bug 377295

Summary: games-sports/foobillard: relies on build-time opengl choice
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: x11
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 149718    
Bug Blocks:    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-08-01 16:28:29 UTC
[[ "$(eselect opengl show)" == 'nvidia' ]] \
        && myconf='--enable-nvidia=yes' \
        || myconf='--enable-nvidia=no'

This is unacceptable as it:
1) makes binary packages rely on build-system configuration,
2) makes the installed application rely on build-time configuration implicitly.

Depending on what '--enable-nvidia' does, it should either be enabled unconditionally or use video_cards_nvidia.
Comment 1 Tupone Alfredo gentoo-dev 2011-10-13 08:00:37 UTC
Fixed. Thanks for report