summaryrefslogtreecommitdiff
path: root/databases/p5-postgresql/patches/patch-aa
blob: 6fefdd792401d8e4da0d163b99a9299f00b3de47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.1.1.1 2001/05/14 15:13:41 jlam Exp $

--- Makefile.PL.orig	Tue Nov 28 21:30:41 2000
+++ Makefile.PL
@@ -14,7 +14,7 @@
 if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) {
     die "please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !\n";
 } elsif ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and $ENV{POSTGRES_HOME}) {
-    $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include";
+    $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include/pgsql";
     $POSTGRES_LIB     = "$ENV{POSTGRES_HOME}/lib";
 } else {
     $POSTGRES_INCLUDE = "$ENV{POSTGRES_INCLUDE}";