aboutsummaryrefslogtreecommitdiff
path: root/deskutils/flameshot/Makefile
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-02-03 15:09:40 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2018-02-03 15:09:40 +0000
commit227ed9abe1e8d512d95b5f20da8c80bdb06a98ab (patch)
tree5d7647f4d5cb097fd52f16e106a16e17f1d606ae /deskutils/flameshot/Makefile
parent917c955c7e3b098e9e6e023866aa1f05cb709ae1 (diff)
downloadports-227ed9abe1e8d512d95b5f20da8c80bdb06a98ab.tar.gz
ports-227ed9abe1e8d512d95b5f20da8c80bdb06a98ab.zip
Drop USE_GCC and add missing build dependency
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. Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D14100
Notes
Notes: svn path=/head/; revision=460819
Diffstat (limited to 'deskutils/flameshot/Makefile')
-rw-r--r--deskutils/flameshot/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/deskutils/flameshot/Makefile b/deskutils/flameshot/Makefile
index 1021174a512c..ab7e7016b21b 100644
--- a/deskutils/flameshot/Makefile
+++ b/deskutils/flameshot/Makefile
@@ -4,6 +4,7 @@
PORTNAME= flameshot
PORTVERSION= 0.5.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= deskutils
MAINTAINER= nivit@FreeBSD.org
@@ -17,10 +18,10 @@ GH_ACCOUNT= lupoDharkael
INSTALL_ICONS= yes
USES= qmake
-USE_GCC= yes
USE_GITHUB= yes
USE_GL= gl
-USE_QT5= core dbus gui linguist network widgets
+USE_QT5= core dbus gui linguist network widgets \
+ buildtools_build
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},1' \