summaryrefslogtreecommitdiff
path: root/www/nginx/files/extra-patch-ngx_postgres-config
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2012-11-22 03:47:20 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2012-11-22 03:47:20 +0000
commit8672f52910c95f8b23573d24e3b2549eb827fa06 (patch)
tree50b1ec713f99f04596528b4ba82f1c4f0135588f /www/nginx/files/extra-patch-ngx_postgres-config
parent- Use new options framework. (diff)
Use more canonical names for patches.
No functionaly changes. Don't bump PORTREVISION. Feature safe: yes
Notes
Notes: svn path=/head/; revision=307636
Diffstat (limited to 'www/nginx/files/extra-patch-ngx_postgres-config')
-rw-r--r--www/nginx/files/extra-patch-ngx_postgres-config19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/nginx/files/extra-patch-ngx_postgres-config b/www/nginx/files/extra-patch-ngx_postgres-config
new file mode 100644
index 000000000000..cfba3278ca87
--- /dev/null
+++ b/www/nginx/files/extra-patch-ngx_postgres-config
@@ -0,0 +1,19 @@
+--- ../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