freebsd-ports/www/nginx-devel/files/extra-patch-calio-iconv-nginx-module-config
Sergey A. Osokin 20a2d5ec84 Update third-party modules:
o) echo from 0.42 to 0.45;
o) headers_more from 0.19 to 0.20;
o) push_stream from 0.3.4 to 03.5;
o) upsteam_sticky from 1.0 to 1.1;
o) encrypted_session from 0.02 to 0.03;
o) lua from 0.7.15 to 0.7.21;
o) redis2 from 0.09 to 0.10;
o) rtmp from 0.9.13 to 0.9.18;
o) srcache from 0.19 to 0.20;
o) iconv from 0.10rc7 to 0.10;

Submitted by:	delphij via private mail
2013-05-03 21:53:53 +00:00

19 lines
782 B
Text

--- ../calio-iconv-nginx-module-b37efb5/config.orig 2013-04-16 17:57:17.000000000 -0700
+++ ../calio-iconv-nginx-module-b37efb5/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