1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/www/nginx/files/extra-patch-ngx_postgres-config
Jochen Neumeister ca12df37d7 Merge r532582 from www/nginx-devel:
Third-party postgres module is dynamic now and remove
the legacy patch.

Sponsored by:	Netzkommune GmbH
2020-06-03 08:05:29 +00:00

20 lines
767 B
Plaintext

--- ../ngx_postgres-8aa7359/config.orig 2015-05-26 20:52:25.649166000 +0300
+++ ../ngx_postgres-8aa7359/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