projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
557c475
)
net-analyzer/fwlogwatch: Add USE=geoip.
author
Jeroen Roovers
<jer@gentoo.org>
Thu, 25 Feb 2016 07:50:54 +0000
(08:50 +0100)
committer
Jeroen Roovers
<jer@gentoo.org>
Thu, 25 Feb 2016 07:51:39 +0000
(08:51 +0100)
Package-Manager: portage-2.2.27
net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild
patch
|
blob
|
history
diff --git
a/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild
b/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild
index 1479b995f8d817ef2876b110397a95678cb0061d..78665a04577c283a05f2c1e0e23a60067540c7e1 100644
(file)
--- 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
}