Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2007 20:14:10 +0100
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        Paul Hoffman <phoffman@proper.com>
Cc:        freeBSD-ports@freebsd.org
Subject:   Re: Modifying a port and keeping the mods across updates
Message-ID:  <45B26A02.1040405@gmx.de>
In-Reply-To: <p06240841c1d75354626b@[10.20.30.108]>
References:  <p06240841c1d75354626b@[10.20.30.108]>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul Hoffman wrote:
> Greetings again. I have a two-part question that may be a ports FAQ, but
> I couldn't find such a beast.
> 
> (1) For a particular port, I need to change the the MAKE_ENV to make it
> build the way I want. What is the proper way to do this that will live
> beyond the next time I do a cvsup? That is, editing the Makefile works
> just fine, but I want something that will live if the Makefile gets
> reverted.

A more flexible alternative to portsconf is contained in sysutils/bsdadminscripts.

> (2) For a particular port, I need to patch a particular source file.
> This is a patch that will probably be in a future release. Same question
> as above: what's the proper way to do this that will live beyond the
> next cvsup? I know how to use 'patch' to apply patches, but not yet to
> create them.

You create patches with diff.



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