Bug 85495 - gnucash-1.8.9.ebuild has xorg-x11 hardcoded
Bug#: 85495 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: seemant@gentoo.org Reported By: sos@sokhapkin.dyndns.org
Component: Ebuilds
URL: 
Summary: gnucash-1.8.9.ebuild has xorg-x11 hardcoded
Keywords:  
Status Whiteboard: 
Opened: 2005-03-16 05:36 0000
Description:   Opened: 2005-03-16 05:36 0000
The ebuild expects xorg-x11 is installed and checks if it was compiled with
"bitmap-fonts" USE flag. As a result gnucash emerge fails if other flavor of
x11 is installed (I use x11-unichrome custom ebuild).

Reproducible: Always
Steps to Reproduce:
1.unmerge xorg-x11
2. emerge other x11 flavor (xfree for example)
3. emerge gnucash

Actual Results:  
gnucash emerge failed

Expected Results:  
successfull emerge

The following patch fixes the problem:

--- gnucash-1.8.9.ebuild.orig   2005-03-16 08:32:49.706516807 -0500
+++ gnucash-1.8.9.ebuild        2005-03-16 08:33:09.497913047 -0500
@@ -60,7 +60,7 @@
 MAKEOPTS="${MAKEOPTS} -j1"

 pkg_setup() {
-       if built_with_use xorg-x11 bitmap-fonts
+       if built_with_use virtual/x11 bitmap-fonts
        then
                einfo "bitmap-fonts support is enabled in xorg-x11,
continuing..."
        else

------- Comment #1 From Seemant Kulleen (RETIRED) 2005-08-05 05:13:23 0000 -------
OK, so I made these changes weeks ago, but forgot to actually commit into cvs. 
Done that now though.