summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch')
-rw-r--r--net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch b/net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch
new file mode 100644
index 000000000000..b7cf5384c330
--- /dev/null
+++ b/net-misc/ipv6calc/files/ipv6calc-0.72.0-optional-geoip.patch
@@ -0,0 +1,17 @@
+=== modified file 'configure.in'
+--- configure.in 2008-11-21 18:47:07 +0000
++++ configure.in 2008-12-28 19:57:19 +0000
+@@ -88,8 +88,10 @@
+ AS_HELP_STRING([--enable-geoip],
+ [Enable GeoIP support (default: disabled)]),
+ [
+- GEOIP="$enableval"
+- GEOIP_LIB="-lGeoIP"
++ if test "$enableval" != "no"; then
++ GEOIP="$enableval"
++ GEOIP_LIB="-lGeoIP"
++ fi
+ ],
+ [GEOIP="no"])
+
+