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
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
Created attachment 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).
Fixed in cvs. A patch is prefered if you are going to suggest changes to the ebuild. Thanks