Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2012 11:28:08 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Chris Ross <cross+freebsd@distal.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Locally modifying ports
Message-ID:  <500E5C98.1000406@gmail.com>
In-Reply-To: <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com>
References:  <24DFC78A-422A-4831-9B74-E762C9245DCD@distal.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Chris Ross wrote:
>    So, I've been a NetBSD user for many years, and am looking more
> at FreeBSD now.  Trying to build myself a system, I find that I have a
> long-held delta to a package on my NetBSD system, and I keep it
> in a patch-local-* file in NetBSD pkgsrc.
>
>    I can't figure out if FreeBSD ports has a way to keep and automatically
> apply "local" patches to ports.  I want to modify the way the internals of
> a package/port operate, and not in a way that makes sense to move up-
> stream.  It's just my preference.
>
>    Is there a way in FreeBSD ports to keep a "make this change to the
> source code after extracting and before compiling" type of thing in the
> tree?

Ports just has been transferred to subversion. With subversion you can 
apply your patches to the tree and subversion will maintain them 
notifying you on possible conflicts. I'm already using this one for the 
patches to Mk that hasn't been committed for a long time.

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?500E5C98.1000406>