[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: different patch for different platforms?
On Tue, 1 Jul 2008 14:48:06 +0200
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> 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.
Someone else suggested conditional additions to PATCHFILES -- is one
--Steve Bellovin, http://www.cs.columbia.edu/~smb
Main Index |
Thread Index |