1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/www/nginx-devel/files/extra-patch-openresty-drizzle-nginx-module-config
Sergey A. Osokin 8f19945eed Merge from www/nginx and adopt next revisions:
468201, 468240.

Update third-party modules to their recent versions.
Enable libxml usage for third-party vod module.

Bump PORTREVISION.
2018-04-24 22:29:18 +00:00

20 lines
847 B
Plaintext

--- ../drizzle-nginx-module-b4f94ec/config.orig 2011-12-30 10:26:53.000000000 +0400
+++ ../drizzle-nginx-module-b4f94ec/config 2011-12-30 10:28:20.000000000 +0400
@@ -22,12 +22,12 @@
if [ $ngx_found = no ]; then
# FreeBSD, OpenBSD
- ngx_feature="libdrizzle library in /usr/local/"
- ngx_feature_path="/usr/local/include/libdrizzle-1.0"
+ ngx_feature="libdrizzle library in %%PREFIX%%"
+ ngx_feature_path="%%PREFIX%%/include/libdrizzle"
if [ $NGX_RPATH = YES ]; then
- ngx_feature_libs="-R/usr/local/lib -L/usr/local/lib -ldrizzle"
+ ngx_feature_libs="-R%%PREFIX%%/lib -L%%PREFIX%%/lib -ldrizzle"
else
- ngx_feature_libs="-L/usr/local/lib -ldrizzle"
+ ngx_feature_libs="-L%%PREFIX%%/lib -ldrizzle"
fi
. auto/feature
fi