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