summaryrefslogtreecommitdiff
path: root/databases/ruby-postgres/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/ruby-postgres/Makefile')
-rw-r--r--databases/ruby-postgres/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/ruby-postgres/Makefile b/databases/ruby-postgres/Makefile
index 02df47cec0e8..784f467b5dc6 100644
--- a/databases/ruby-postgres/Makefile
+++ b/databases/ruby-postgres/Makefile
@@ -15,7 +15,9 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
-LIB_DEPENDS= pq.2:${PORTSDIR}/databases/postgresql7
+LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+
+POSTGRESQL_PORT?= databases/postgresql7
USE_RUBY= yes
USE_RUBY_EXTCONF= yes