[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: different patch for different platforms?
On Mon, Jun 30, 2008 at 10:12:29PM -0400, Steven M. Bellovin wrote:
> On Tue, 1 Jul 2008 03:37:07 +0200
> Adam Hoka <adam.hoka%gmail.com@localhost> wrote:
> > Im just wondering:
> > What do you want to patch and why do you need this?
> > Maybe you can use sed magic instead?
> The package I'm working on invokes an external program. The proper
> choice is different on Linux than on *BSD. I'm trying to decide how
> best to handle that.
Use the SUBST framework for that. Optionally patch the file first to get
something like @PROGRAM@ in and use SUBST to change that.
Main Index |
Thread Index |