net-dialup/freeradius: Apply patches earlier
authorMatt Turner <mattst88@gentoo.org>
Wed, 12 Feb 2020 00:16:04 +0000 (16:16 -0800)
committerMatt Turner <mattst88@gentoo.org>
Wed, 12 Feb 2020 00:25:40 +0000 (16:25 -0800)
commitf7f755690f196dc3aa10a4a83f9a7f3bd0e739a3
treec9126f5b1ad7992b3e54eac80bbcc4ca735b5955
parent5dbb88f4702628a30b2b0420b98c35c0b5581194
net-dialup/freeradius: Apply patches earlier

src_prepare() selectively deletes subdirectories depending on USE flags
since configure.ac does not offer configurable switches. If a patch
applies changes to a directory that may be deleted, then src_prepare()
can fail depending on the USE flags that are set. This was the case with
USE=-python.

Avoid this possibility by applying patches before deleting directories.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
net-dialup/freeradius/freeradius-3.0.20.ebuild