From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5074E1388C0 for ; Thu, 25 Feb 2016 07:51:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A85DD21C01D; Thu, 25 Feb 2016 07:51:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4840021C01D for ; Thu, 25 Feb 2016 07:51:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0E95340C25 for ; Thu, 25 Feb 2016 07:51:45 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 06323C6F for ; Thu, 25 Feb 2016 07:51:41 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1456386699.937035adee42ec2f5776247db1bf15e61163a263.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fwlogwatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild X-VCS-Directories: net-analyzer/fwlogwatch/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 937035adee42ec2f5776247db1bf15e61163a263 X-VCS-Branch: master Date: Thu, 25 Feb 2016 07:51:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c03c9390-7dbf-4c3d-99fb-b9f48983885f X-Archives-Hash: c49bf66783ec0e4b13006f8659b9ba19 commit: 937035adee42ec2f5776247db1bf15e61163a263 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Feb 25 07:50:54 2016 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Feb 25 07:51:39 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=937035ad net-analyzer/fwlogwatch: Add USE=geoip. Package-Manager: portage-2.2.27 net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild b/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild index 1479b99..78665a0 100644 --- a/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild +++ b/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild @@ -13,9 +13,10 @@ SRC_URI="${HOMEPAGE}sw/${P}.tar.bz2" KEYWORDS="~amd64 ~ppc ~sparc ~x86" LICENSE="GPL-1" SLOT="0" -IUSE="nls zlib" +IUSE="geoip nls zlib" RDEPEND=" + geoip? ( dev-libs/geoip ) zlib? ( sys-libs/zlib ) " DEPEND=" @@ -52,6 +53,11 @@ src_configure() { append-cflags -DHAVE_ZLIB fi + if use geoip; then + append-cflags -DHAVE_GEOIP + sed -i Makefile -e '/^LIBS/ s| #| -lGeoIP #|g' || die + fi + use nls && append-cflags -DHAVE_GETTEXT }