diff options
author | jwise <jwise@pkgsrc.org> | 2000-04-21 21:12:16 +0000 |
---|---|---|
committer | jwise <jwise@pkgsrc.org> | 2000-04-21 21:12:16 +0000 |
commit | 3df2126b7589c72790369fd350584cc82f1a5712 (patch) | |
tree | 3a25524f6f9793ca50aa574a148d0c2384c223bc /databases/p5-pgsql | |
parent | c53c8d770e741026303c17a9d9c1758e33cf6d4f (diff) | |
download | pkgsrc-3df2126b7589c72790369fd350584cc82f1a5712.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/Makefile | 4 | ||||
-rw-r--r-- | databases/p5-pgsql/files/patch-sum | 3 | ||||
-rw-r--r-- | databases/p5-pgsql/patches/patch-aa | 11 |
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"], + ); |