Re: Preferred way of applying OSVERSION-dependend patches

2012-04-01 Thread Chris Rees
On 1 Apr 2012 21:34, "RW" wrote: > > On Sun, 01 Apr 2012 14:02:15 +0400 > Ruslan Mahmatkhanov wrote: > > > > > Good day! > > > > What is a preferred way of doing subj? > > > > 1. Add an extra-patch-* to files/ subdirectory and apply it depending > > of checks in Makefile (.if ${OSVERSION}). >

Re: Preferred way of applying OSVERSION-dependend patches

2012-04-01 Thread RW
On Sun, 01 Apr 2012 14:02:15 +0400 Ruslan Mahmatkhanov wrote: > > Good day! > > What is a preferred way of doing subj? > > 1. Add an extra-patch-* to files/ subdirectory and apply it depending > of checks in Makefile (.if ${OSVERSION}). > 2. Add an patch-* to files subdirectory that applies

Re: Preferred way of applying OSVERSION-dependend patches

2012-04-01 Thread Jason Helfman
> On 1 April 2012 06:02, Ruslan Mahmatkhanov wrote: >> >> Good day! >> >> What is a preferred way of doing subj? >> >> 1. Add an extra-patch-* to files/ subdirectory and apply it depending >>   of checks in Makefile (.if ${OSVERSION}). >> 2. Add an patch-* to files subdirectory that applies uncon

Re: Preferred way of applying OSVERSION-dependend patches

2012-04-01 Thread Eitan Adler
On 1 April 2012 06:02, Ruslan Mahmatkhanov wrote: > > Good day! > > What is a preferred way of doing subj? > > 1. Add an extra-patch-* to files/ subdirectory and apply it depending >   of checks in Makefile (.if ${OSVERSION}). > 2. Add an patch-* to files subdirectory that applies unconditionally

Re: Preferred way of applying OSVERSION-dependend patches

2012-04-01 Thread Chris Rees
On 1 Apr 2012 11:03, "Ruslan Mahmatkhanov" wrote: > > > Good day! > > What is a preferred way of doing subj? > > 1. Add an extra-patch-* to files/ subdirectory and apply it depending > of checks in Makefile (.if ${OSVERSION}). > 2. Add an patch-* to files subdirectory that applies unconditionall

Preferred way of applying OSVERSION-dependend patches

2012-04-01 Thread Ruslan Mahmatkhanov
Good day! What is a preferred way of doing subj? 1. Add an extra-patch-* to files/ subdirectory and apply it depending of checks in Makefile (.if ${OSVERSION}). 2. Add an patch-* to files subdirectory that applies unconditionally and that checking for __FreeBSD_version in app code itself.