mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-calculators/wcalc: port to EAPI 7
Closes: https://bugs.gentoo.org/725378 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
committed by
David Seifert
parent
66eb5a0986
commit
e606af941b
10
sci-calculators/wcalc/files/wcalc-2.5-AR.patch
Normal file
10
sci-calculators/wcalc/files/wcalc-2.5-AR.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -46,6 +46,7 @@ AC_PROG_CC
|
||||
AC_PROG_CC_C99
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_YACC
|
||||
+AM_PROG_AR
|
||||
AM_PROG_LEX
|
||||
AS_IF([test "x$LEX" == x],
|
||||
[AC_MSG_ERROR([A Lex/Flex program is required in order to compile wcalc.])],
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit eutils
|
||||
inherit autotools desktop
|
||||
|
||||
DESCRIPTION="A flexible command-line scientific calculator"
|
||||
HOMEPAGE="http://w-calc.sourceforge.net/"
|
||||
@@ -20,6 +20,13 @@ RDEPEND="
|
||||
readline? ( sys-libs/readline:0= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-AR.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with readline)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user