How to modify port source code before 'make' ?

VANHULLEBUS Yvan vanhu_bsd at zeninc.net
Tue Apr 4 08:23:42 UTC 2006


On Tue, Apr 04, 2006 at 06:07:47PM +1000, Adrian wrote:
> Hi,
> 
> I'm trying to install a port.. I know a little and can
> make the changes I need to but when I 'make'  it
> refetches the file from /usr/ports/distfiles
> and scraps the changes I've made!
> 
> I've tried updating the dist file and putting it back in
> that directory but it seems to perform a hash check
> on it!
> 
> Is there a standard way to do this?

portdir/files is a directory where you can add your patches to port's
ones. All those patches will be applied just after distfile
extraction.


Yvan.

-- 
NETASQ - Secure Internet Connectivity
http://www.netasq.com


More information about the freebsd-ports mailing list