aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2014-12-31 13:44:39 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2014-12-31 13:44:39 +0000
commit9c14fe95bb4c3107e5a3a45af2564615282795f0 (patch)
tree69a8c063e89964fdfb5ccc57f2b565b40822e63b
parent1dd76f801c75a3b0b0fae469696246faf78a931b (diff)
downloadports-9c14fe95bb4c3107e5a3a45af2564615282795f0.tar.gz
ports-9c14fe95bb4c3107e5a3a45af2564615282795f0.zip
Add support for building with QT4 (but still use QT5 by default)
PR: 196234 Submitted by: Kevin Zheng <kevinz5000@gmail.com>
Notes
Notes: svn path=/head/; revision=375884
-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