freebsd-ports/www/nginx/files/extra-patch-calio-iconv-nginx-module-config
Sergey A. Osokin 941b257cb9 Upgrade third-party modules:
o) arrayvar from 0.03 to 0.05;
o) devel_kit from 0.2.19 to 0.3.0;
o) echo from 4f7aa50 to 46334b3;
o) encryptsession from 0.03 to 0.05;
o) forminput from 0.07 to 0.12;
o) iconv from 0.10 to 0.14;
o) lua from 0.10.5 to 0.10.6rc1;
o) set_misc from 6582fb4 to f808ef4;
o) sflow from 0.9.7 to 543c72a;
o) small_light from 0.6.15 to 0.8.0;
o) xss from 0.04 to 0.05.

Do not bump PORTREVISION.
2016-08-07 02:03:59 +00:00

19 lines
764 B
Text

--- ../iconv-nginx-module-0.14/config.orig 2013-04-16 17:57:17.000000000 -0700
+++ ../iconv-nginx-module-0.14/config 2013-05-01 17:16:28.134624745 -0700
@@ -39,12 +39,12 @@
fi
if [ $ngx_found = no ]; then
- ngx_feature="libiconv in /usr/local/"
- ngx_feature_path="/usr/local/include"
+ ngx_feature="libiconv in %%PREFIX%%/"
+ ngx_feature_path="%%PREFIX%%/include"
if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -liconv"
+ ngx_feature_libs="-R%%PREFIX%%/lib -L%%PREFIX%%/lib -liconv"
else
- ngx_feature_libs="-L/usr/local/lib -liconv"
+ ngx_feature_libs="-L%%PREFIX%%/lib -liconv"
fi
. auto/feature
fi