Bug 57350 - bacula-1.34.5.ebuild (Update)
Bug#: 57350 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: zul@gentoo.org Reported By: list@themorrells.org
Component: Ebuilds
URL: 
Summary: bacula-1.34.5.ebuild (Update)
Keywords:  
Status Whiteboard: 
Opened: 2004-07-16 19:04 0000
Description:   Opened: 2004-07-16 19:04 0000
When emerging Bacula 1.34.5 with USE="wxwindows" the wx-console program is not
compiled.  During the inital config the ebuild recognizes that I want
wx-console.

------
config.status: creating src/wx-console/Makefile
config.status: creating src/wx-console/wx-console.conf
------

  But, during the actual compile it is dropped.

------
  Large file support:         yes
  Bacula conio support:       yes -ltermcap
  readline support:           no
  TCP Wrappers support:       no
  ZLIB support:               yes
  enable-smartalloc:          yes
  enable-gnome:               yes Version 2.x
  enable-wx-console:          no
  client-only:                yes
  ACL support:                no
------

  After the emerge completes "qpkg -l bacula" shows no wx-console app or
configuration files.  Is the ebuild forgetting to pass a compile flag?

Reproducible: Always
Steps to Reproduce:
1. USE="wxwindows" emerge bacula

------- Comment #1 From MikeM 2004-07-17 09:56:00 0000 -------
  Below is the lines that needed to be added to properly compile wx-console
support.  (Sorry, I did not make a copy of the orginal ebuild so I have nothing
to diff against)
  wx-console requires wxGTK-2.4.2 or greater to build.  So the following needs
to be added to the DEPEND section.

        wxwindows? ( >=x11-libs/wxGTK-2.4.2 )

  wx-console is compiled with the --enable-wx-console flag.  The following
needs to be added to src_compile() section.

if use wxwindows
    then
        myconf="${myconf} --enable-wx-console"
fi

------- Comment #2 From MikeM 2004-07-17 11:30:29 0000 -------
Created an attachment (id=35647) [details]
Updated ebuild with changes

  Updated ebuild to handle USE="wxwindows" correctly.  Note, ebuild also
includes patch to bug #57302 (fix for BUILD_CLIENT_ONLY=1).

------- Comment #3 From Chuck Short (RETIRED) 2004-07-19 17:07:42 0000 -------
Fixed in cvs. A patch is prefered if you are going to suggest changes to the
ebuild.

Thanks