summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-02-11 16:16:04 -0800
committerMatt Turner <mattst88@gentoo.org>2020-02-11 16:25:40 -0800
commitf7f755690f196dc3aa10a4a83f9a7f3bd0e739a3 (patch)
treec9126f5b1ad7992b3e54eac80bbcc4ca735b5955 /net-dialup
parentsci-libs/libgeotiff-1.5.1-r1: amd64 stable (bug 706442) (diff)
downloadgentoo-f7f755690f196dc3aa10a4a83f9a7f3bd0e739a3.tar.gz
gentoo-f7f755690f196dc3aa10a4a83f9a7f3bd0e739a3.tar.bz2
gentoo-f7f755690f196dc3aa10a4a83f9a7f3bd0e739a3.zip
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>
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/freeradius-3.0.20.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-dialup/freeradius/freeradius-3.0.20.ebuild b/net-dialup/freeradius/freeradius-3.0.20.ebuild
index 533b388bf6c2..5d43f28c636d 100644
--- a/net-dialup/freeradius/freeradius-3.0.20.ebuild
+++ b/net-dialup/freeradius/freeradius-3.0.20.ebuild
@@ -90,6 +90,7 @@ src_prepare() {
# not interested in using.
eapply_user
+ default
use ssl || { rm -r src/modules/rlm_eap/types/rlm_eap_{tls,ttls,peap} || die ; }
use ldap || { rm -r src/modules/rlm_ldap || die ; }
@@ -158,8 +159,6 @@ src_prepare() {
usesqldriver sqlite
usesqldriver mongodb mongo
- default
-
eautoreconf
}