File nginx-geoip.patch of Package dba-nginx-1114
diff -Nur auto/lib/geoip/conf.orig auto/lib/geoip/conf
--- auto/lib/geoip/conf.orig 2013-02-11 16:34:30.000000000 +0100
+++ auto/lib/geoip/conf 2013-02-14 17:32:16.000000000 +0100
@@ -64,6 +64,23 @@
fi
+if [ $ngx_found = no ]; then
+
+ # DBA Port
+
+ ngx_feature="GeoIP library in /DBA/geoip/1.6.3/"
+ ngx_feature_path="/DBA/geoip/1.6.3/include/"
+
+ if [ $NGX_RPATH = YES ]; then
+ ngx_feature_libs="-R/DBA/geoip/1.6.3/lib -L/DBA/geoip/1.6.3/lib -lGeoIP"
+ else
+ ngx_feature_libs="-L/DBA/geoip/1.6.3/lib -lGeoIP"
+ fi
+
+ . auto/feature
+fi
+
+
if [ $ngx_found = yes ]; then
CORE_INCS="$CORE_INCS $ngx_feature_path"