head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2012.11.22.03.49.48;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307636
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307636 | osa | 2012-11-22 03:47:20 +0000 (Thu, 22 Nov 2012) | 6 lines
## SVN ##
## SVN ## Use more canonical names for patches.
## SVN ## No functionaly changes.
## SVN ## Don't bump PORTREVISION.
## SVN ##
## SVN ## Feature safe: yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@--- ../ngx_postgres-0.9/config.orig	2011-12-29 11:17:24.000000000 +0400
+++ ../ngx_postgres-0.9/config	2011-12-29 11:18:47.000000000 +0400
@@@@ -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
@
