diff options
author | Jochen Neumeister <joneum@FreeBSD.org> | 2024-02-25 10:24:06 +0100 |
---|---|---|
committer | Jochen Neumeister <joneum@FreeBSD.org> | 2024-02-25 10:26:33 +0100 |
commit | 78842f5507e0259442311b8288fb438f584aed4d (patch) | |
tree | 750e6d97e9ca254f77051be9a6fcd3f289f61408 /www/freenginx/files/extra-patch-ngx_postgres-config | |
parent | net/nepenthes: Moved man to share/man (diff) |
www/freenginx: add new port
Freenginx is a Robust ans small WWW server
Sponsored by: Netzkommune GmbH
Diffstat (limited to 'www/freenginx/files/extra-patch-ngx_postgres-config')
-rw-r--r-- | www/freenginx/files/extra-patch-ngx_postgres-config | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/freenginx/files/extra-patch-ngx_postgres-config b/www/freenginx/files/extra-patch-ngx_postgres-config new file mode 100644 index 000000000000..8c26c0f7dd64 --- /dev/null +++ b/www/freenginx/files/extra-patch-ngx_postgres-config @@ -0,0 +1,19 @@ +--- ../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 |