#49203: bacula 7.0.4_1 +client_only +console_bat does not build because it can't find Qt4 -------------------------+------------------------------ Reporter: gullevek@… | Owner: robertoschwald@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: bacula | -------------------------+------------------------------ Comment (by gullevek@…): Replying to [comment:5 robertoschwald@…]:
I look into it. I also want to remove bacula-bat to be generated when client-only is selected, as most of the time we need a pure bacula-fd client.
If one needs the gui, he can additionally install bacula-gui (thats the plan).
I just post the correct solution to this issue here if other people have the same problem (as it is still not fixed with port bacula 7.0.4) In the configure file search for "Unable to find Qt4 installation" and add the following two lines above the "abc=`$PKGCONFIG --atleast ...` part export QMAKE='/opt/local/libexec/qt4/bin/qmake' export PKG_CONFIG_PATH='/opt/local/libexec/qt4/lib/pkgconfig' Then you can run the normal build command in ports -- Ticket URL: <https://trac.macports.org/ticket/49203#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X