- Convert from rubygem-postgres to reubygem-pg to fix ruby 1.9.x issues

PR:             ports/142461
Reported by:    Aaron Gifford <astounding@gmail.com>
With help from: dinoex
This commit is contained in:
Philip M. Gollucci 2010-01-15 00:49:35 +00:00
parent 9f8c6ab2ce
commit 05d4a96b48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=247897

View file

@ -6,13 +6,14 @@
PORTNAME= activerecord
PORTVERSION= 2.3.4
PORTREVISION= 1
CATEGORIES= databases rubygems
MASTER_SITES= RF
MAINTAINER= pgollucci@FreeBSD.org
COMMENT= Object-relational mapping layer for Rails MVC Framework
BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/activesupport-${PORTVERSION}.gemspec:${PORTSDIR}/devel/rubygem-activesupport
BUILD_DEPENDS= rubygem-activesupport>=2.3.4:${PORTSDIR}/devel/rubygem-activesupport
RUN_DEPENDS= ${BUILD_DEPENDS}
OPTIONS= NATIVE_MYSQL "Use native MySQL bindings" Off\
@ -32,7 +33,7 @@ RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/mysql.so:${PORTSDIR}/databases/ruby-mysql
.endif
.if defined(WITH_NATIVE_POSTGRESQL)
RUN_DEPENDS+= rubygem-postgres>=0:${PORTSDIR}/databases/rubygem-postgres
RUN_DEPENDS+= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
.endif
.if defined(WITH_NATIVE_SQLITE3)