pkgsrc/databases/p5-postgresql/patches/patch-aa
2001-05-14 15:13:41 +00:00

13 lines
622 B
Text

$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}";