Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Feb 2007 15:52:59 +0100
From:      Mark Evenson <mark.evenson@gmx.at>
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade fails with "make: don't know how to make misc-depends"
Message-ID:  <epsusb$t2a$1@sea.gmane.org>
In-Reply-To: <epsqni$d70$1@sea.gmane.org>
References:  <epsqni$d70$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Evenson wrote:
> After my daily cvsup (as of 20070201 1300 UTC), portupgrade fails like:
[...]
> make: don't know how to make misc-depends. Stop
> 
> A target removed from somewhere in /usr/ports/Mk?

Indeed it is.  This patch seems to fix things:

--- bin/portupgrade.orig	Thu Feb  1 15:42:15 2007
+++ bin/portupgrade	Thu Feb  1 15:42:22 2007
@@ -1594,7 +1594,7 @@
        end

        if $sudo && Process.euid != 0
-	dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 
'lib-depends' << 'misc-depends'
+	dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 
'lib-depends'

  	if not system(shelljoin(*dep_cmdargs) + ' DEPENDS_TARGET="-n 
nonexistent_target" >/dev/null 2>&1')
  	  script!(logfile, *dep_cmdargs) or

Bug filed with GNATS, but I have to wait on the PR number.

-- 
<Mark.Evenson@gmx.at>

"[T]his is not a disentanglement from, but a progressive knotting into."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?epsusb$t2a$1>