Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 13:35:23 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472870 - head/net-p2p/qbittorrent
Message-ID:  <201806201335.w5KDZNl6036932@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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