From 50abc973e68addd76f9c804b38aea7fbe4b7947a Mon Sep 17 00:00:00 2001 From: jwise Date: Fri, 21 Apr 2000 21:12:16 +0000 Subject: 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... --- databases/p5-pgsql/Makefile | 4 ++-- databases/p5-pgsql/files/patch-sum | 3 +++ databases/p5-pgsql/patches/patch-aa | 11 +++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 databases/p5-pgsql/files/patch-sum create mode 100644 databases/p5-pgsql/patches/patch-aa (limited to 'databases/p5-pgsql') 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"], + ); -- cgit v1.2.3