1 |
commit: 9440d8b1aaa9c985c8faad75d5094659845c98ba |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 10 14:07:13 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 10 14:07:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9440d8b1 |
7 |
|
8 |
sys-apps/lsadb: Respect LDFLAGS |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
sys-apps/lsadb/files/lsadb-makefile.patch | 6 +++--- |
14 |
sys-apps/lsadb/lsadb-0.1.3-r1.ebuild | 27 +++++++++++++++++++++++++++ |
15 |
2 files changed, 30 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/lsadb/files/lsadb-makefile.patch b/sys-apps/lsadb/files/lsadb-makefile.patch |
18 |
index fb396cc85b2..08faacceb8a 100644 |
19 |
--- a/sys-apps/lsadb/files/lsadb-makefile.patch |
20 |
+++ b/sys-apps/lsadb/files/lsadb-makefile.patch |
21 |
@@ -1,5 +1,5 @@ |
22 |
---- Makefile.bak 2009-11-30 14:31:07.000000000 -0500 |
23 |
-+++ Makefile 2009-11-30 14:31:34.000000000 -0500 |
24 |
+--- a/Makefile |
25 |
++++ b/Makefile |
26 |
@@ -1,6 +1,2 @@ |
27 |
- |
28 |
- |
29 |
@@ -7,4 +7,4 @@ |
30 |
- gcc -Wall -O2 -o $@ $< && strip $@ |
31 |
- |
32 |
- |
33 |
-+ ${CC} -Wall ${CFLAGS} -o $@ $< |
34 |
++ ${CC} -Wall $(CFLAGS) $(LDFLAGS) -o $@ $< |
35 |
|
36 |
diff --git a/sys-apps/lsadb/lsadb-0.1.3-r1.ebuild b/sys-apps/lsadb/lsadb-0.1.3-r1.ebuild |
37 |
new file mode 100644 |
38 |
index 00000000000..aa0234ff5ea |
39 |
--- /dev/null |
40 |
+++ b/sys-apps/lsadb/lsadb-0.1.3-r1.ebuild |
41 |
@@ -0,0 +1,27 @@ |
42 |
+# Copyright 1999-2019 Gentoo Authors |
43 |
+# Distributed under the terms of the GNU General Public License v2 |
44 |
+ |
45 |
+EAPI=7 |
46 |
+inherit toolchain-funcs |
47 |
+ |
48 |
+DESCRIPTION="Prints out information on all devices attached to the ADB bus" |
49 |
+HOMEPAGE="http://pbbuttons.berlios.de/projects/lsadb/" |
50 |
+#SRC_URI="mirror://berlios/pub/pbbuttons/${PN}-${PV}.tgz" |
51 |
+SRC_URI="mirror://gentoo/${P}.tgz" |
52 |
+LICENSE="GPL-2" |
53 |
+SLOT="0" |
54 |
+ |
55 |
+KEYWORDS="-* ~ppc" |
56 |
+PATCHES=( |
57 |
+ "${FILESDIR}"/${PN}-makefile.patch |
58 |
+) |
59 |
+ |
60 |
+src_compile() { |
61 |
+ emake CC="$(tc-getCC)" |
62 |
+} |
63 |
+ |
64 |
+src_install() { |
65 |
+ dobin lsadb |
66 |
+ doman lsadb.1 |
67 |
+ dodoc README |
68 |
+} |