1 |
commit: 0165a108c3dc2a6881c0610d47b887695064091a |
2 |
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 14 12:36:30 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:38:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0165a108 |
7 |
|
8 |
x11-misc/xcalendar: fix build with -native-symlinks |
9 |
|
10 |
Closes: https://bugs.gentoo.org/726258 |
11 |
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com> |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
x11-misc/xcalendar/xcalendar-4.0-r2.ebuild | 15 +++++++++++---- |
15 |
1 file changed, 11 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild |
18 |
index b89bdea80b7..a6ccd189665 100644 |
19 |
--- a/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild |
20 |
+++ b/x11-misc/xcalendar/xcalendar-4.0-r2.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
@@ -20,7 +20,7 @@ RDEPEND="x11-libs/libX11 |
28 |
x11-libs/libXext" |
29 |
DEPEND="${RDEPEND} |
30 |
x11-base/xorg-proto |
31 |
- x11-misc/imake |
32 |
+ >=x11-misc/imake-1.0.8-r1 |
33 |
x11-misc/gccmakedep |
34 |
motif? ( >=x11-libs/motif-2.3:0 )" |
35 |
|
36 |
@@ -35,9 +35,16 @@ src_prepare() { |
37 |
-i XCalendar.sed || die |
38 |
} |
39 |
|
40 |
+src_configure() { |
41 |
+ CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ |
42 |
+ IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die |
43 |
+} |
44 |
+ |
45 |
src_compile() { |
46 |
- xmkmf -a || die |
47 |
- emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" EXTRA_LDOPTIONS="${LDFLAGS}" |
48 |
+ emake \ |
49 |
+ CC="$(tc-getCC)" \ |
50 |
+ CDEBUGFLAGS="${CFLAGS}" \ |
51 |
+ EXTRA_LDOPTIONS="${LDFLAGS}" |
52 |
} |
53 |
|
54 |
src_install() { |