aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx-devel/files/extra-patch-chaoslawful-drizzle-nginx-module-config
blob: eca9dde7b0e4cc062382aae1ef23bb3a21846db3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ../chaoslawful-drizzle-nginx-module-943c915/config.orig 2011-12-30 10:26:53.000000000 +0400
+++ ../chaoslawful-drizzle-nginx-module-943c915/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