diff options
author | osa <osa@FreeBSD.org> | 2015-05-27 07:12:04 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2015-05-27 07:12:04 +0800 |
commit | 634abd094510dd78ae12c27ff1e0c429ac01c14f (patch) | |
tree | caa8557c590f36e1fef59642ad72a30d404d2f6d /www/nginx | |
parent | 3f2cab3645b06fc6e36974ee5cc80647a4a8619c (diff) | |
download | freebsd-ports-gnome-634abd094510dd78ae12c27ff1e0c429ac01c14f.tar.gz freebsd-ports-gnome-634abd094510dd78ae12c27ff1e0c429ac01c14f.tar.zst freebsd-ports-gnome-634abd094510dd78ae12c27ff1e0c429ac01c14f.zip |
Add patches for third-party postgres module.
Diffstat (limited to 'www/nginx')
-rw-r--r-- | www/nginx/files/extra-patch-ngx_postgres-config | 19 |
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..623edc114c3f --- /dev/null +++ b/www/nginx/files/extra-patch-ngx_postgres-config @@ -0,0 +1,19 @@ +--- ../FRiCKLE-ngx_postgres-49855a0/config.orig 2015-05-26 20:52:25.649166000 +0300 ++++ ../FRiCKLE-ngx_postgres-49855a0/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 |