Page MenuHomeFreeBSD

deskutils/flameshot: Drop USE_GCC and add missing build dependency

Authored by rakuco on Jan 28 2018, 10:45 PM.



Backport an upstream commit that fixes the build with clang, which allows us to drop USE_GCC. It is broken on at least FreeBSD 10:

===>  Configuring for flameshot-0.5.0
Project ERROR: Cannot run compiler 'g++'. Output:
g++: not found
Maybe you forgot to setup the environment?
*** Error code 3

Also add a dependency on qt5-buildtools, otherwise the build complains that rcc is not found.

Test Plan

The port builds fine on 10.3.

Diff Detail

Lint Skipped
Unit Tests Skipped

Event Timeline

This revision is now accepted and ready to land.Feb 3 2018, 12:06 PM
This revision was automatically updated to reflect the committed changes.