From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'x11-misc/xcalendar/xcalendar-4.0-r2.ebuild') diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild index b89bdea80b70..a6ccd1896657 100644 --- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild +++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -20,7 +20,7 @@ RDEPEND="x11-libs/libX11 x11-libs/libXext" DEPEND="${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 x11-misc/gccmakedep motif? ( >=x11-libs/motif-2.3:0 )" @@ -35,9 +35,16 @@ src_prepare() { -i XCalendar.sed || die } +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die +} + src_compile() { - xmkmf -a || die - emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" } src_install() { -- cgit v1.2.3