one or more patch files / optional patch ?

Ion-Mihai Tetcu itetcu at apropo.ro
Thu Feb 26 13:22:05 PST 2004


Hi,


The Porters Handbook says "To make fixes and upgrades easier, you should
avoid having more than one patch fix the same file"; I'm in the reverse
situation, e.g. I have to patch 4 files for adding a feature to a port.
It will only make sense to patch all the files or none. Should the patch
be split in 4 files or not ?

I also want to use OPTIONS to allow the user to choose if he wants this
feature or not. How can I integrate this with patch target (e.g. having
the patch in files/ but only applied if WITH_ is set) ?



-- 
IOnut
Unregistered ;) FreeBSD user



More information about the freebsd-ports mailing list