Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  9 Apr 2003 12:14:41 +0200 (CEST)
From:      Ollivier Robert <roberto@eurocontrol.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        knu@FreeBSD.org
Subject:   ports/50750: rubu-dbi should depend on devel/ruby-aspectr
Message-ID:  <20030409101441.4F7AB3D1E@caerdonn.eurocontrol.fr>
Resent-Message-ID: <200304091020.h39AKTxD097613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         50750
>Category:       ports
>Synopsis:       rubu-dbi should depend on devel/ruby-aspectr
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 09 03:20:23 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ollivier Robert
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Usenet Canal Historique
>Environment:
System: FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #13: Tue Apr 8 17:12:12 CEST 2003 roberto@caerdonn.eurocontrol.fr:/src/src/sys/i386/compile/tCAERDONN i386

    ruby-dbi 0.0.18, Ruby 1.8p2.

>Description:
	
    When trying to trace DBI applications using "-r dbi/trace", the
    following error is displayed:

/usr/local/lib/ruby/site_ruby/1.8/dbi/trace.rb:23:in `require': No such file to load -- aspectr (LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/dbi/trace.rb:23

    devel/ruby-aspectr is now required for tracing.

>How-To-Repeat:
	
    Try any script that use ruby-dbi with "-r dbi/trace".

>Fix:

Here is a fix.

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/ruby-dbi/Makefile,v
retrieving revision 1.11
diff -u -2 -r1.11 Makefile
--- Makefile	18 Feb 2003 04:37:38 -0000	1.11
+++ Makefile	9 Apr 2003 10:08:49 -0000
@@ -18,4 +18,6 @@
 COMMENT=	DBI-for-Ruby - a common interface for SQL-based databases
 
+RUN_DEPENDS=    ${RUBY_SITELIBDIR}/aspectr.rb:${PORTSDIR}/devel/ruby-aspectr
+
 USE_RUBY=	yes
 USE_RUBY_SETUP=	yes
	


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030409101441.4F7AB3D1E>