What with all the effort expended to make sure that ebuilds use the right BSD/GNU versions of make, sed, patch, etc, it might be a good idea if patch and gpatch were actually different. At the moment, we can patch the patch ebuild to install /usr/bin/gpatch rather than /usr/bin/patch, but that isn't much good unless the freebsd-ubin ebuild provides the patch from the current freebsd distribution (which can be assumed to work with the makefiles from the same distribution). This should fix the problems we've been having with freebsd-libstand, which fails because (or so I'm told; I haven't investigated properly) because of having the wrong patch version. On that note, we need a patch ebuild in the overlay that installs gpatch without /usr/bin/patch, and also renames its manpages accordingly.
FreeBSD (5.2.1) releases a different version of patch (2.1). An ebuild for this version of patch exists in our overlay (and in cvs) and will be modified in order to accept other versions of patch. A modified ebuild for patch (2.5.9) will be added during this week.
Both ebuilds modified to live together. Added to cvs and added to the latest version of overlay.