summaryrefslogtreecommitdiff
path: root/databases/p5-pgsql/patches/patch-aa
blob: 361dd95240ad53cc048346484e5fd860f45ed15d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2001/03/05 20:07:49 jtb 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}";