mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
2e59e19637
Also remove needless patch. Do not bump PORTREVISION because these modules disabled by default. <ChangeLog> * Improve debug logging. From Yichun Zhang (agentzh). * Fix compatibility with poll, select and /dev/poll event models. Reported by Yichun Zhang (agentzh). * Fix compatibility with PostgreSQL 9.x. Reported by Yichun Zhang (agentzh). * Fix compatibility with nginx-1.1.4+. From Yichun Zhang (agentzh). * Enforce writing of proper SQL queries by replacing "row <row>" output format with "text" and returning whole result-set with values separated by newlines when using "postgres_output" directive. * Enforce writing of proper SQL queries by requiring result-set to contain exactly single value when using "binary_value" or "value" output formats when using "postgres_output" directive. * Fix "duplicated last chunk" issue. Reported by Silly Sad, diagnosed by Maxim Dounin. * Improve build-time PostgreSQL client library discovery process by using PostgreSQL's pg_config. Patch from Silly Sad. </ChangeLog>
20 lines
759 B
Plaintext
20 lines
759 B
Plaintext
--- ../ngx_postgres-0.9/config.orig 2011-12-29 11:17:24.000000000 +0400
|
|
+++ ../ngx_postgres-0.9/config 2011-12-29 11:18:47.000000000 +0400
|
|
@@ -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
|