Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/ipv6calc/files: ipv6calc-0.72.0-optional-geoip.patch
Date: Sun, 28 Dec 2008 20:30:16
Message-Id: E1LH2H8-0008Ls-Kj@stork.gentoo.org
1 pva 08/12/28 20:30:14
2
3 Added: ipv6calc-0.72.0-optional-geoip.patch
4 Log:
5 Fixed build issue without geoip, bug #252811, thank Mike Auty for report.
6 (Portage version: 2.2_rc20/cvs/Linux 2.6.26-openvz.git-89451f9 i686)
7
8 Revision Changes Path
9 1.1 net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch?rev=1.1&content-type=text/plain
13
14 Index: ipv6calc-0.72.0-optional-geoip.patch
15 ===================================================================
16 === modified file 'configure.in'
17 --- configure.in 2008-11-21 18:47:07 +0000
18 +++ configure.in 2008-12-28 19:57:19 +0000
19 @@ -88,8 +88,10 @@
20 AS_HELP_STRING([--enable-geoip],
21 [Enable GeoIP support (default: disabled)]),
22 [
23 - GEOIP="$enableval"
24 - GEOIP_LIB="-lGeoIP"
25 + if test "$enableval" != "no"; then
26 + GEOIP="$enableval"
27 + GEOIP_LIB="-lGeoIP"
28 + fi
29 ],
30 [GEOIP="no"])