aboutsummaryrefslogtreecommitdiffstats
path: root/comms/gqrx
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2014-12-31 21:44:39 +0800
committermartymac <martymac@FreeBSD.org>2014-12-31 21:44:39 +0800
commit17485ae9a554639d9f57e18147d29f4982323e06 (patch)
tree69a8c063e89964fdfb5ccc57f2b565b40822e63b /comms/gqrx
parent1fa83fc9a9b0df47e570b8cc888019b24c445aa3 (diff)
downloadfreebsd-ports-gnome-17485ae9a554639d9f57e18147d29f4982323e06.tar.gz
freebsd-ports-gnome-17485ae9a554639d9f57e18147d29f4982323e06.tar.zst
freebsd-ports-gnome-17485ae9a554639d9f57e18147d29f4982323e06.zip
Add support for building with QT4 (but still use QT5 by default)
PR: 196234 Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Diffstat (limited to 'comms/gqrx')
-rw-r--r--comms/gqrx/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/comms/gqrx/Makefile b/comms/gqrx/Makefile
index 47828b961c08..7b26ab8b2b81 100644
--- a/comms/gqrx/Makefile
+++ b/comms/gqrx/Makefile
@@ -28,7 +28,14 @@ GH_COMMIT= 4d90b84
GH_TAGNAME= v${PORTVERSION}
USES= pkgconfig qmake
-USE_QT5= buildtools_build core gui svg network widgets
+
+OPTIONS_SINGLE= GUI
+OPTIONS_SINGLE_GUI= QT4 QT5
+
+QT4_USE= QT4=corelib,gui,network
+QT5_USE= QT5=buildtools_build,core,gui,svg,network,widgets
+
+OPTIONS_DEFAULT= QT5
PLIST_FILES= bin/gqrx share/applications/gqrx.desktop