1 |
commit: c99effcf638c1461308af9068c8f7aeca6b374bd |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 19 03:30:06 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 03:30:06 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c99effcf |
7 |
|
8 |
sys-apps/dmidecode: simplify via append-lfs-flags |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/dmidecode/dmidecode-3.4-r1.ebuild | 8 +++++--- |
13 |
sys-apps/dmidecode/dmidecode-3.5-r1.ebuild | 6 ++++-- |
14 |
2 files changed, 9 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild b/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild |
17 |
index 92d65b193d64..cf9d5fc8f094 100644 |
18 |
--- a/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild |
19 |
+++ b/sys-apps/dmidecode/dmidecode-3.4-r1.ebuild |
20 |
@@ -1,11 +1,11 @@ |
21 |
-# Copyright 1999-2022 Gentoo Authors |
22 |
+# Copyright 1999-2023 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=8 |
26 |
|
27 |
# Upstream often give "recommended patches" at https://www.nongnu.org/dmidecode/ |
28 |
# Check regularly after releases! |
29 |
-inherit toolchain-funcs |
30 |
+inherit flag-o-matic toolchain-funcs |
31 |
|
32 |
DESCRIPTION="DMI (Desktop Management Interface) table related utilities" |
33 |
HOMEPAGE="https://www.nongnu.org/dmidecode/" |
34 |
@@ -29,8 +29,10 @@ src_prepare() { |
35 |
} |
36 |
|
37 |
src_compile() { |
38 |
+ append-lfs-flags |
39 |
+ |
40 |
emake \ |
41 |
- CFLAGS="-D_FILE_OFFSET_BITS=64 ${CFLAGS} ${CPPFLAGS}" \ |
42 |
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \ |
43 |
LDFLAGS="${LDFLAGS}" \ |
44 |
CC="$(tc-getCC)" |
45 |
} |
46 |
|
47 |
diff --git a/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild b/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild |
48 |
index 07d8528c8c98..516ba585f352 100644 |
49 |
--- a/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild |
50 |
+++ b/sys-apps/dmidecode/dmidecode-3.5-r1.ebuild |
51 |
@@ -5,7 +5,7 @@ EAPI=8 |
52 |
|
53 |
# Upstream often give "recommended patches" at https://www.nongnu.org/dmidecode/ |
54 |
# Check regularly after releases! |
55 |
-inherit toolchain-funcs |
56 |
+inherit flag-o-matic toolchain-funcs |
57 |
|
58 |
DESCRIPTION="DMI (Desktop Management Interface) table related utilities" |
59 |
HOMEPAGE="https://www.nongnu.org/dmidecode/" |
60 |
@@ -29,8 +29,10 @@ src_prepare() { |
61 |
} |
62 |
|
63 |
src_compile() { |
64 |
+ append-lfs-flags |
65 |
+ |
66 |
emake \ |
67 |
- CFLAGS="-D_FILE_OFFSET_BITS=64 ${CFLAGS} ${CPPFLAGS}" \ |
68 |
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \ |
69 |
LDFLAGS="${LDFLAGS}" \ |
70 |
CC="$(tc-getCC)" |
71 |
} |