ports/160587: [patch] www/redmine fix postgresql

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Fri Sep 9 12:00:27 UTC 2011


>Number:         160587
>Category:       ports
>Synopsis:       [patch] www/redmine fix postgresql
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 09 12:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 8.2-RELEASE
>Organization:
privat
>Environment:

	Option WITH_POSTGRESQL=yes

>Description:

	ruby-pg is depreateced
	rubygem-pg is the replacement

	I verfied that redmine-0.8.7 works
	with rubygem-pg-0.11.0

>How-To-Repeat:
>Fix:

	Apply this patch:


Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/redmine/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile	22 Aug 2011 20:16:59 -0000	1.31
+++ Makefile	9 Sep 2011 11:23:04 -0000
@@ -38,7 +38,7 @@
 .endif
 
 .if defined(WITH_POSTGRESQL)
-RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/pg.so:${PORTSDIR}/databases/ruby-pg
+RUN_DEPENDS+=	rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
 .endif
 
 .if defined(WITH_RMAGIC)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list