Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 21:43:30 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        krinklyfig@spymac.com
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: How to remove a patch from a port?
Message-ID:  <20041019214330.5ea1de30@it.buh.cameradicommercio.ro>
In-Reply-To: <200410181506.55316.krinklyfig@spymac.com>
References:  <200410181506.55316.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Oct 2004 15:06:55 -0700
Joshua Tinnin <krinklyfig@spymac.com> wrote:

> I'm wondering how to remove a custom patch for a port. I am sort of new 
> at this, but I've managed to learn how to patch a port and upgrade it 
> for testing. But I'm not at all sure how to remove that patch if need 
> be. What I've been doing is removing a chunk of the ports tree with 
> cd /usr/ports && rm -rf */*portname* and then cvsup'ping again, but 
> this doesn't seem right or very efficient. I've read the man page for 
> patch, but the only thing I can come up with is the reverse option, 
> which I must admit I don't totally understand. Can anyone explain this 
> in a way that makes sense?

If I understand what you want correctly, all you have to do is to rename
the patch from:

/usr/ports/cat/your_port/files/patch-you_want_not_applied to something
that does not begin with 'patch'.


-- 
IOnut
Unregistered ;) FreeBSD "user"




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