Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2000 12:51:34 -0400 (EDT)
From:      Brett Taylor <brett@peloton.runet.edu>
To:        Simon J Mudd <sjmudd@pobox.com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Error: your port uses an old layout.  Please update it to match this bsd.port.mk. - SOLVED
Message-ID:  <Pine.BSF.4.21.0010151248060.8897-100000@peloton.runet.edu>
In-Reply-To: <8666mu5d5h.fsf@unicorn.ea4els.ampr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 15 Oct 2000, Simon J Mudd wrote:

> Martin@McFlySr.Kurgan.Ru (Martin McFlySr) writes:

> > "Error:  your port uses an old layout.  Please update it to match
> > this bsd.port.mk." error.

> It would be nice to have a URL which explained the problem in more
> detail:

I've answered this 3 times on this or the -ports list (which is where this
should have been directed - leaving here to try to prevent even MORE of
this same question).

> 2. information on the changes
> 3. general information on what needs to be done to change a package
>    to the new layout.

My guess is you use CVSup to get the ports. CVSup will not remove the old
pkg/ and patches/ directory when they are empty.  The new format puts all
patches in the files/ directory and pkg/* has been moved to pkg-*, leaving
the patches/ and pkg/ directories empty.  bsd.port.mk checks for the
presence of patches/ and pkg/ and if it finds them prints the warning.  

You can make your ports tree work again by doing the following:

	cd /usr/ports && rm -rf */*/pkg/ && rm -rf */*/patches/

Brett
*****************************************************
Dr. Brett Taylor         brett@peloton.runet.edu    *
Dept of Chem and Physics			    *
Curie 39A	(540) 831-6147                      *
*****************************************************



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010151248060.8897-100000>