svn commit: r472870 - head/net-p2p/qbittorrent

Mathieu Arnold mat at FreeBSD.org
Wed Jun 20 13:35:24 UTC 2018


Author: mat
Date: Wed Jun 20 13:35:23 2018
New Revision: 472870
URL: https://svnweb.freebsd.org/changeset/ports/472870

Log:
  Better use flavors.
  
  Sponsored by:	Absolight

Modified:
  head/net-p2p/qbittorrent/Makefile   (contents, props changed)

Modified: head/net-p2p/qbittorrent/Makefile
==============================================================================
--- head/net-p2p/qbittorrent/Makefile	Wed Jun 20 12:38:43 2018	(r472869)
+++ head/net-p2p/qbittorrent/Makefile	Wed Jun 20 13:35:23 2018	(r472870)
@@ -18,6 +18,7 @@ LIB_DEPENDS=	libtorrent-rasterbar.so:net-p2p/libtorren
 		libboost_system.so:devel/boost-libs
 
 FLAVORS=	default nox
+FLAVOR=		${FLAVORS:[1]}
 default_LIB_DEPENDS=	libGeoIP.so:net/GeoIP
 nox_PKGNAMESUFFIX=	-nox
 nox_PLIST=		${NONEXISTENT}
@@ -29,13 +30,13 @@ CONFIGURE_ARGS=		CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLA
 QT_NONSTANDARD=		yes
 DESTDIRNAME=		INSTALL_ROOT
 
-.if ${FLAVOR:Udefault} == default
+.if ${FLAVOR} == default
 USES+=			desktop-file-utils
 USE_QT5+=		concurrent gui widgets
 USE_GL=			gl
 .endif
 
-.if ${FLAVOR:U} == nox
+.if ${FLAVOR} == nox
 SUFFIX=			-nox
 COMMENT+=		(web UI version)
 CONFIGURE_ARGS+=	--disable-gui


More information about the svn-ports-all mailing list