diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-02-25 08:50:54 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-02-25 08:51:39 +0100 |
commit | 937035adee42ec2f5776247db1bf15e61163a263 (patch) | |
tree | 36b53f87d19f5b7b293c494cd690cecc7350a554 /net-analyzer/fwlogwatch | |
parent | dev-ruby/mime-types-data: add 3.2016.0221 (diff) | |
download | gentoo-937035adee42ec2f5776247db1bf15e61163a263.tar.gz gentoo-937035adee42ec2f5776247db1bf15e61163a263.tar.bz2 gentoo-937035adee42ec2f5776247db1bf15e61163a263.zip |
net-analyzer/fwlogwatch: Add USE=geoip.
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-analyzer/fwlogwatch')
-rw-r--r-- | net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild b/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild index 1479b995f8d8..78665a04577c 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 } |