Patch Levels in Ports...

Edwin Groothuis edwin at mavetju.org
Wed Jul 6 01:38:31 GMT 2005


On Wed, Jul 06, 2005 at 12:28:18AM +0200, Steve Clement wrote:
> I have a port with 2 FLAGS:
> 
> BLA_ENABLE=yes
> BLA2_ENABLE=yes
> 
> now I need to apply different patches depending on what options are set.
> 
> patch-aa patch-ab are flailing so what's the correct procedure:
> 
> split the patch-* to be applied correctly into EXTRA_PATCHES
> 
> or is there a more elegant way?

I have had something similar. I just renamed all patches to patch5-
and patch4- (yes, indeed for 4.x and 5.x) and added them to
EXTRA_PATCHES depending on the OS version.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/


More information about the freebsd-ports mailing list