public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fwlogwatch/
Date: Thu, 25 Feb 2016 07:51:41 +0000 (UTC)	[thread overview]
Message-ID: <1456386699.937035adee42ec2f5776247db1bf15e61163a263.jer@gentoo> (raw)

commit:     937035adee42ec2f5776247db1bf15e61163a263
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 07:50:54 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> 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
 }
 


             reply	other threads:[~2016-02-25  7:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25  7:51 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-06-30 18:40 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fwlogwatch/ Sam James
2021-06-30 10:15 Ulrich Müller
2021-04-03 19:53 Sam James
2021-03-17  9:09 Sam James
2021-03-17  9:00 Sam James
2021-03-15 21:54 Sam James
2021-03-15 21:53 Sam James
2021-03-15 21:01 Sam James
2016-02-24  6:00 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456386699.937035adee42ec2f5776247db1bf15e61163a263.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox