aboutsummaryrefslogtreecommitdiffstats
path: root/audio/murmur
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-12-16 23:01:07 +0800
committerfeld <feld@FreeBSD.org>2017-12-16 23:01:07 +0800
commit507421a318d8619c980121c21725403ddca9402f (patch)
treef35f4883d3befe5ccfabb62be890af7da0a07627 /audio/murmur
parent1736bab4084342ecb667a185239e04802f1516c0 (diff)
downloadfreebsd-ports-gnome-507421a318d8619c980121c21725403ddca9402f.tar.gz
freebsd-ports-gnome-507421a318d8619c980121c21725403ddca9402f.tar.zst
freebsd-ports-gnome-507421a318d8619c980121c21725403ddca9402f.zip
audio/murmur: Provode separate options for MYSQL and SQLITE
PR: 220476
Diffstat (limited to 'audio/murmur')
-rw-r--r--audio/murmur/Makefile22
1 files changed, 18 insertions, 4 deletions
diff --git a/audio/murmur/Makefile b/audio/murmur/Makefile
index e00d08e76c81..474ea043fc4e 100644
--- a/audio/murmur/Makefile
+++ b/audio/murmur/Makefile
@@ -3,7 +3,7 @@
PORTNAME= murmur
PORTVERSION= 1.2.19
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= audio net
MAINTAINER= feld@FreeBSD.org
@@ -18,7 +18,7 @@ LIB_DEPENDS= libprotobuf.so:devel/protobuf
USERS= murmur
GROUPS= murmur
USES= compiler:c++11-lang qmake pkgconfig ssl
-USE_QT4= moc_build corelib network xml sql sql-sqlite3_run
+USE_QT4= moc_build corelib network sql xml
USE_GITHUB= YES
GH_ACCOUNT= mumble-voip
@@ -30,8 +30,10 @@ QMAKE_ARGS= "CONFIG+=${CONFIG}"
USE_RC_SUBR= murmur
SUB_LIST+= USERS="${USERS}" GROUPS="${GROUPS}"
-OPTIONS_DEFINE= ICE DBUS BONJOUR DOCS
-OPTIONS_DEFAULT= BONJOUR
+OPTIONS_DEFINE= BONJOUR DBUS DOCS ICE
+OPTIONS_DEFAULT= BONJOUR DOCS MYSQL SQLITE
+OPTIONS_MULTI= SQL
+OPTIONS_MULTI_SQL= MYSQL SQLITE
ICE_DESC= Ice Support
BONJOUR_DESC= Bonjour Support
@@ -55,6 +57,18 @@ LIB_DEPENDS+= libdns_sd.so:net/mDNSResponder
CONFIG+= no-bonjour
.endif
+.if ${PORT_OPTIONS:MMYSQL}
+USE_QT4+= sql-mysql
+.else
+CONFIG+= no-sql-mysql
+.endif
+
+.if ${PORT_OPTIONS:MSQLITE}
+USE_QT4+= sql-sqlite3_run
+.else
+CONFIG+= no-sqlite3_run
+.endif
+
.include <bsd.port.pre.mk>
# PCH is broken on GCC
.if ${CHOSEN_COMPILER_TYPE} == gcc