summaryrefslogtreecommitdiff
path: root/databases/ruby-postgresql
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-07-24 22:45:14 +0000
committerrecht <recht@pkgsrc.org>2004-07-24 22:45:14 +0000
commit8dc45652d46a220002347a3b36987cfcc6720ea4 (patch)
tree2a9af75a69e002a52d9f045391377b6b709f9e60 /databases/ruby-postgresql
parent469aa0e7b0acb890daa191ae38db7d113e39ffb8 (diff)
downloadpkgsrc-8dc45652d46a220002347a3b36987cfcc6720ea4.tar.gz
Use the new mk/pgsql.buildlink3.mk to select the correct PostgreSQL
version.
Diffstat (limited to 'databases/ruby-postgresql')
-rw-r--r--databases/ruby-postgresql/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/ruby-postgresql/Makefile b/databases/ruby-postgresql/Makefile
index 4c52e2d8327..8c895224dad 100644
--- a/databases/ruby-postgresql/Makefile
+++ b/databases/ruby-postgresql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/04/27 05:44:22 snj Exp $
+# $NetBSD: Makefile,v 1.15 2004/07/24 22:45:15 recht Exp $
DISTNAME= ruby-postgres-${VERSION}
PKGNAME= ${RUBY_PKGNAMEPREFIX}postgresql-${VERSION}
@@ -15,8 +15,8 @@ USE_BUILDLINK3= yes
VERSION= 0.7.1
DIST_SUBDIR= ruby
USE_RUBY_EXTCONF= yes
-CONFIGURE_ARGS+= --with-pgsql-include-dir=${PREFIX}/include/postgresql \
- --with-pgsql-lib-dir=${PREFIX}/lib
+CONFIGURE_ARGS+= --with-pgsql-include-dir=${PGSQL_PREFIX}/include/postgresql \
+ --with-pgsql-lib-dir=${PGSQL_PREFIX}/lib
INSTALL_TARGET= site-install
DOC= README README.ja doc/postgres.html doc/postgres.ja.html
@@ -42,7 +42,7 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/sample/$f ${RUBY_EXAMPLESDIR}/postgresql
.endfor
-.include "../../databases/postgresql-lib/buildlink3.mk"
.include "../../lang/ruby-base/Makefile.common"
.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"