logo       

Re: depends code problem???: msg#00623

Subject: Re: depends code problem???
À (At) 7:46 +0100 29/02/04, Paul Guyot écrivait (wrote) :
OK. I could reproduce some problem on my box, but it was only there because I merged PortImages+HEAD. I'm going to see if this problem lays in PortImages branch or is just a side effect of the merge. It's not in HEAD.

It is a side-effect of the merge.
I cannot reproduce the problem you're having with HEAD. If ruby is installed, port install rb-sqlite won't install ruby.

Instead, it says:

DEBUG: Found Dependency: receipt: /opt/local/var/db/dports/receipts/ruby-1.8.1.bz2

As far as the merge of HEAD with PortImages is concerned, you may want to do the following:

----
--- darwinports.tcl.orig        Sun Feb 29 08:19:08 2004
+++ darwinports.tcl     Sun Feb 29 08:19:29 2004
@@ -458,8 +458,8 @@
        # Check for the presense of the port in the registry
        set workername [ditem_key $dport workername]
        set res [$workername eval registry_exists \${portname} \${portversion}]
-       if {$res != ""} {
-               ui_debug "Found Dependency: receipt: $res"
+       if {$res != 0} {
+ ui_debug "Found Dependency: receipt: ${portname} ${portversion}"
                return 1
        } else {
                return 0
@@ -478,7 +478,7 @@
        set workername [ditem_key $dport workername]
        set res [$workername eval registry_exists \${portname} \${portversion}]
        if {$res != 0} {
-               ui_debug "Found Dependency: receipt: $res"
+ ui_debug "Found Dependency: receipt: ${portname} ${portversion}"
                return 1
        } else {
# The receipt test failed, use one of the depspec regex mechanisms
----

Paul
--
Philosophie de baignoire - consultations sur rendez-vous.

NPDS/NewtonOS: http://newton.kallisys.net:8080/
Apache/FreeBSD: http://www.kallisys.com/


<Prev in Thread] Current Thread [Next in Thread>