summaryrefslogtreecommitdiff
path: root/databases/p5-pgsql
diff options
context:
space:
mode:
authorjwise <jwise>2000-04-21 21:12:16 +0000
committerjwise <jwise>2000-04-21 21:12:16 +0000
commit50abc973e68addd76f9c804b38aea7fbe4b7947a (patch)
tree3a25524f6f9793ca50aa574a148d0c2384c223bc /databases/p5-pgsql
parent5f2765b3a7f3a2877eeb179329a4573aff9264fc (diff)
downloadpkgsrc-50abc973e68addd76f9c804b38aea7fbe4b7947a.tar.gz
Make this work with the new locations for PostgreSQL include files. Mind
you, people _should_ be using databases/p5-DBI and databases/p5-DBD-postgresql instead...
Diffstat (limited to 'databases/p5-pgsql')
-rw-r--r--databases/p5-pgsql/Makefile4
-rw-r--r--databases/p5-pgsql/files/patch-sum3
-rw-r--r--databases/p5-pgsql/patches/patch-aa11
3 files changed, 16 insertions, 2 deletions
diff --git a/databases/p5-pgsql/Makefile b/databases/p5-pgsql/Makefile
index f6d399b73aa..c38c731e922 100644
--- a/databases/p5-pgsql/Makefile
+++ b/databases/p5-pgsql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 1999/12/23 13:15:12 rh Exp $
+# $NetBSD: Makefile,v 1.2 2000/04/21 21:12:16 jwise Exp $
#
DISTNAME= pgsql_perl5-1.8.1
@@ -12,7 +12,7 @@ HOMEPAGE= http://www.pobox.com/~gbarr/perl-ldap/
DEPENDS+= postgresql-*:../../databases/postgresql
USE_PERL5= YES
-MAKE_ENV+= POSTGRES_HOME="${PREFIX}/pgsql"
+MAKE_ENV+= POSTGRES_HOME="${PREFIX}"
do-configure:
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
diff --git a/databases/p5-pgsql/files/patch-sum b/databases/p5-pgsql/files/patch-sum
new file mode 100644
index 00000000000..ea92305685c
--- /dev/null
+++ b/databases/p5-pgsql/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2000/04/21 21:12:16 jwise Exp $
+
+MD5 (patch-aa) = 6bd593e6f8a440544c9fb0625b4afb56
diff --git a/databases/p5-pgsql/patches/patch-aa b/databases/p5-pgsql/patches/patch-aa
new file mode 100644
index 00000000000..6231a8aacc2
--- /dev/null
+++ b/databases/p5-pgsql/patches/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig Fri Apr 21 17:04:12 2000
++++ Makefile.PL Fri Apr 21 17:03:37 2000
+@@ -29,7 +29,7 @@
+ my %opts = (
+ NAME => 'Pg',
+ VERSION_FROM => 'Pg.pm',
+- INC => "-I$ENV{POSTGRES_HOME}/include",
++ INC => "-I$ENV{POSTGRES_HOME}/include/pgsql",
+ OBJECT => "Pg\$(OBJ_EXT)",
+ LIBS => ["-L$ENV{POSTGRES_HOME}/lib -lpq"],
+ );