summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlarig Le Lay <alarig@swordarmor.fr>2020-08-31 21:27:17 +0200
committerSam James <sam@gentoo.org>2020-09-02 20:40:06 +0000
commit97cf65fd933a09edc3bd7282c4d8f10ab27fb227 (patch)
tree593de5b8a3139f89c2e7a917716ebc9707bd56bb /net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
parentsys-apps/dstat: fix test failure (diff)
downloadgentoo-97cf65fd933a09edc3bd7282c4d8f10ab27fb227.tar.gz
gentoo-97cf65fd933a09edc3bd7282c4d8f10ab27fb227.tar.bz2
gentoo-97cf65fd933a09edc3bd7282c4d8f10ab27fb227.zip
net-dialup/freeradius-client: respect AR
Closes: https://bugs.gentoo.org/730388 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr> Closes: https://github.com/gentoo/gentoo/pull/17351 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild')
-rw-r--r--net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
index 0b182155d465..564fb5f2205d 100644
--- a/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
+++ b/net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools toolchain-funcs
+inherit autotools
DESCRIPTION="FreeRADIUS Client framework"
HOMEPAGE="https://wiki.freeradius.org/project/Radiusclient"
@@ -23,27 +23,25 @@ DOCS=(
README.{radexample,rst}
)
+PATCHES=(
+ "${FILESDIR}/${P}-ar-configure.in.patch"
+)
+
src_prepare() {
default
mv configure.in configure.ac || die \
"Renaming configure.in to configure.ac failed"
+
eautoreconf
}
src_configure() {
- tc-export AR
-
local myeconfargs=(
$(use_enable scp)
$(use_enable shadow)
--with-secure-path
)
econf "${myeconfargs[@]}"
-
- for MAKEFILE in $(find -name Makefile) libtool; do
- sed -i "s|/usr/bin/ar|${AR}|" "${MAKEFILE}" || \
- die "Patching ${MAKEFILE} for ${AR} failed"
- done
}
src_install() {