ports/www/nginx-devel/files/extra-patch-ngx_postgres-config
Sergey A. Osokin 4fab3e95e6 Upgrade third-party modules:
o) lua from 0.9.16 to 0.9.18;
o) memc from 0.15 to 0.16;
o) postgres from 1.0rc5 to 1.0rc7;
o) rds-csv from 0.05 to 0.07.
o) rds-json from 0.13 to 0.14;
o) redis2 from 0.11 to 0.12;
o) set-misc from 0.28 to 0.29;

Remove needless patch for third-party postgres module, change
has been added to the upstream.
2015-11-10 21:20:03 +00:00

19 lines
765 B
Text

--- ../ngx_postgres-1.0rc7/config.orig 2015-05-26 20:52:25.649166000 +0300
+++ ../ngx_postgres-1.0rc7/config 2015-05-26 20:53:10.331122000 +0300
@@ -48,12 +48,12 @@
if [ $ngx_found = no ]; then
# FreeBSD
- ngx_feature="libpq library in /usr/local/"
- ngx_feature_path="/usr/local/include"
+ ngx_feature="libpq library in %%PREFIX%%/"
+ ngx_feature_path="%%PREFIX%%/include"
if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -lpq"
+ ngx_feature_libs="-R%%PREFIX%%/lib -L%%PREFIX%%/lib -lpq"
else
- ngx_feature_libs="-L/usr/local/lib -lpq"
+ ngx_feature_libs="-L%%PREFIX%%/lib -lpq"
fi
. auto/feature
fi