Bug 93856 - X.org 6.8.99.8 ebuild: duplicated if statement
Bug#: 93856 Product:  Gentoo Linux Version: 2005.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: codergeek42@gentoo.org
Component: Ebuilds
URL: 
Summary: X.org 6.8.99.8 ebuild: duplicated if statement
Keywords:  
Status Whiteboard: 
Opened: 2005-05-24 15:11 0000
Description:   Opened: 2005-05-24 15:11 0000
The x11-base/xorg-x11-6.8.99.8 ebuild contains the same if statement to
workaround bug 77949. In the check_use_combos function the following exists
twice: 
--- Begin: code snippet ---
check_use_combos() {

[...]

        # (#77949)
        if use minimal && use doc; then
                die "The minimal and doc USE flags are temporarily incompatible
and result in a dead build."
        fi

        # (#77949)
        if use minimal && use doc; then
                die "The minimal and doc USE flags are temporarily incompatible
and result in a dead build."
        fi

--- End: code snippet ---

This doesn't seem to hamper the build, but it does not make sense to me to have
this checked for twice when it will die if the conditional is true the first
time. A trivial matter though...

------- Comment #1 From Donnie Berkholz 2005-05-24 15:50:08 0000 -------
Yeah, just got a bad paste in there from somewhere else, I think.

Fixed, thanks.