From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1027878-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3C8EA138334
	for <garchives@archives.gentoo.org>; Sun,  3 Jun 2018 21:18:28 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 40235E0AFB;
	Sun,  3 Jun 2018 21:18:27 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 0FF3CE0AFB
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jun 2018 21:18:27 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 27AB9335C76
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jun 2018 21:18:26 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C9A9A29E
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Jun 2018 21:18:23 +0000 (UTC)
From: "Matthias Maier" <tamiko@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" <tamiko@gentoo.org>
Message-ID: <1528060691.f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f.tamiko@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/doxygen/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-doc/doxygen/doxygen-1.8.14.ebuild
X-VCS-Directories: app-doc/doxygen/
X-VCS-Committer: tamiko
X-VCS-Committer-Name: Matthias Maier
X-VCS-Revision: f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f
X-VCS-Branch: master
Date: Sun,  3 Jun 2018 21:18:23 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 14e8a118-993a-41b8-b23a-f51593618c3a
X-Archives-Hash: 0efe80028dec36bdc500378798a6499c

commit:     f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  3 21:10:39 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Jun  3 21:18:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cd8c1e

app-doc/doxygen: fix warning about unused variable if USE=-doc

Closes: https://bugs.gentoo.org/652064
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-doc/doxygen/doxygen-1.8.14.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-doc/doxygen/doxygen-1.8.14.ebuild b/app-doc/doxygen/doxygen-1.8.14.ebuild
index 502086e771c..871e295e975 100644
--- a/app-doc/doxygen/doxygen-1.8.14.ebuild
+++ b/app-doc/doxygen/doxygen-1.8.14.ebuild
@@ -99,13 +99,15 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
-		-DDOC_INSTALL_DIR="share/doc/${P}"
 		-Duse_libclang=$(usex clang)
 		-Dbuild_doc=$(usex doc)
 		-Dbuild_search=$(usex doxysearch)
 		-Dbuild_wizard=$(usex qt5)
 		-Duse_sqlite3=$(usex sqlite)
 		)
+	use doc && mycmakeargs+=(
+		-DDOC_INSTALL_DIR="share/doc/${P}"
+		)
 
 	cmake-utils_src_configure
 }