Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Oct 2000 19:27:08 -0700
From:      Doug Barton <DougB@gorean.org>
To:        Frank Woodward <beau@washoku.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Error: your port uses an old layout.
Message-ID:  <39E915FC.D8F35541@gorean.org>
References:  <39E8BE01.2ADF924@washoku.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Woodward wrote:

> I ran cvsup using ports-supfile (confirming that it
> includes "*default delete use-rel-suffix"), but it doesn't
> seem to have removed the /pkg and /patches directories under
> each port, which are empty except for the CVS directory.
> It seems the presence of either of these directories causes
> bsd.port.mk to consider the port out of date.


.if (!defined(PATCHDIR) && exists(${MASTERDIR}/patches)) || \
        (!defined(PKGDIR) && exists(${MASTERDIR}/pkg)) || \
        (!defined(MD5_FILE) && exists(${MASTERDIR}/files/md5))
pre-everything::
        @${ECHO} "Error: your port uses an old layout.  Please update it
to matc
h this bsd.port.mk."

The behavior you're seeing is totally expected. cvsup only removes files
and directories it knows about, and it only removes directories if they
are empty. There are no CVS directories in the ports tree that you check
out with cvsup, so cvsup didn't remove those directories. Since the /pkg
and /patches directories aren't empty, cvsup didn't remove them. 

	You should probably wipe out your /usr/ports/* and start over again.

Doug
-- 
        "The dead cannot be seduced."
		- Kai, "Lexx"

	Do YOU Yahoo!?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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