Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2017 15:01:07 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456472 - head/audio/murmur
Message-ID:  <201712161501.vBGF17AY037134@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sat Dec 16 15:01:07 2017
New Revision: 456472
URL: https://svnweb.freebsd.org/changeset/ports/456472

Log:
  audio/murmur: Provode separate options for MYSQL and SQLITE
  
  PR:		220476

Modified:
  head/audio/murmur/Makefile

Modified: head/audio/murmur/Makefile
==============================================================================
--- head/audio/murmur/Makefile	Sat Dec 16 14:25:05 2017	(r456471)
+++ head/audio/murmur/Makefile	Sat Dec 16 15:01:07 2017	(r456472)
@@ -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
 
@@ -53,6 +55,18 @@ CONFIG+=	no-dbus
 LIB_DEPENDS+=	libdns_sd.so:net/mDNSResponder
 .else
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712161501.vBGF17AY037134>