freebsd-ports/www/nginx-devel/files/extra-patch-calio-iconv-nginx-module::config
Sergey A. Osokin 46c5a3865f Update third-party modules (openresty 1.0.11.28):
o) echo    - from 0.38rc1 to 0.38rc2;
o) lua     - from 0.4.1 to 0.5.0rc24;
o) rds-csv - from 0.04 to 0.05rc1;
o) redis2  - from 0.08rc2 to 0.08rc4;
o) srcache - from 0.13rc3 to 0.13.rc6;
o) xss     - from 0.03rc8 to 0.03rc9;
o) iconv   - from 0.10rc5 to 0.10rc7;

Do not bump PORTREVISIONs because these modules are disabled by default.
2012-04-26 08:11:12 +00:00

19 lines
782 B
Text

--- ../calio-iconv-nginx-module-abdac17/config.orig 2012-01-12 12:01:07.000000000 +0400
+++ ../calio-iconv-nginx-module-abdac17/config 2011-10-11 03:30:35.000000000 +0400
@@ -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