diff options
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch | 10 | ||||
-rw-r--r-- | net-dialup/freeradius-client/freeradius-client-1.1.7-r1.ebuild | 14 |
2 files changed, 16 insertions, 8 deletions
diff --git a/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch new file mode 100644 index 000000000000..07d477bcc901 --- /dev/null +++ b/net-dialup/freeradius-client/files/freeradius-client-1.1.7-ar-configure.in.patch @@ -0,0 +1,10 @@ +--- a/configure.in 2020-07-08 19:20:38.180447370 +0200 ++++ b/configure.in 2020-07-08 19:21:00.840479965 +0200 +@@ -33,6 +33,6 @@ + + dnl Needed for normal compile +-AC_PATH_PROG(AR, ar) ++AM_PROG_AR + AM_PROG_LIBTOOL + + dnl HAVE_SHADOW_PASSWORDS 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() { |