mirror of
https://git.freebsd.org/ports.git
synced 2025-06-15 17:50:31 -04:00
o) ngx_postgres-0.8 - upstream module that allows nginx to communicate directly with PostgreSQL database. Bump PORTREVISION is unnecessary, because these modules are disabled by default.
19 lines
759 B
Text
19 lines
759 B
Text
--- ../ngx_postgres-0.8/config.orig 2011-07-12 19:06:52.000000000 +0400
|
|
+++ ../ngx_postgres-0.8/config 2011-07-12 19:07:42.000000000 +0400
|
|
@@ -29,12 +29,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
|