1 |
commit: 297cc162bda9bc6dc4838e481c3ad1b6302d0a9c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 19 00:19:15 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 19 00:30:19 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297cc162 |
7 |
|
8 |
dev-libs/libcdio: Revbump to fix ncurses detection. |
9 |
|
10 |
Package-Manager: Portage-2.3.63, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
.../files/libcdio-2.1.0-ncurses_pkgconfig.patch | 30 ++++++++++++++++++++++ |
14 |
...ibcdio-2.1.0.ebuild => libcdio-2.1.0-r1.ebuild} | 8 +++--- |
15 |
2 files changed, 34 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libcdio/files/libcdio-2.1.0-ncurses_pkgconfig.patch b/dev-libs/libcdio/files/libcdio-2.1.0-ncurses_pkgconfig.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..b5ed62cc072 |
20 |
--- /dev/null |
21 |
+++ b/dev-libs/libcdio/files/libcdio-2.1.0-ncurses_pkgconfig.patch |
22 |
@@ -0,0 +1,30 @@ |
23 |
+From 04f7da2f190ddc636a5c268f2428f36517f92e25 Mon Sep 17 00:00:00 2001 |
24 |
+From: Lars Wendler <polynomial-c@g.o> |
25 |
+Date: Fri, 19 Apr 2019 02:24:04 +0200 |
26 |
+Subject: [PATCH] configure.ac: Search for pkg-config with its |
27 |
+ PKG_PROG_PKG_CONFIG macro |
28 |
+ |
29 |
+Otherwise the pkg-config command might not be found and thus some of the |
30 |
+required packages (like ncurses) as well. |
31 |
+ |
32 |
+Signed-off-by: Lars Wendler <polynomial-c@g.o> |
33 |
+--- |
34 |
+ configure.ac | 2 ++ |
35 |
+ 1 file changed, 2 insertions(+) |
36 |
+ |
37 |
+diff --git a/configure.ac b/configure.ac |
38 |
+index 5f9f9e78..711cb5df 100644 |
39 |
+--- a/configure.ac |
40 |
++++ b/configure.ac |
41 |
+@@ -27,6 +27,8 @@ AC_CANONICAL_HOST |
42 |
+ AC_CONFIG_HEADERS(config.h) |
43 |
+ AC_CONFIG_MACRO_DIR([m4]) |
44 |
+ |
45 |
++PKG_PROG_PKG_CONFIG |
46 |
++ |
47 |
+ # Enable silent build rules by default (Automake v1.11 or later). |
48 |
+ # Disable by either passing --disable-silent-rules to configure or passing V=1 to make |
49 |
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], |
50 |
+-- |
51 |
+2.21.0 |
52 |
+ |
53 |
|
54 |
diff --git a/dev-libs/libcdio/libcdio-2.1.0.ebuild b/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild |
55 |
similarity index 94% |
56 |
rename from dev-libs/libcdio/libcdio-2.1.0.ebuild |
57 |
rename to dev-libs/libcdio/libcdio-2.1.0-r1.ebuild |
58 |
index 91ca3e370f2..a61b22b9d61 100644 |
59 |
--- a/dev-libs/libcdio/libcdio-2.1.0.ebuild |
60 |
+++ b/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild |
61 |
@@ -36,15 +36,15 @@ MULTILIB_WRAPPED_HEADERS=( |
62 |
/usr/include/cdio/version.h |
63 |
) |
64 |
|
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}/${PN}-2.1.0-ncurses_pkgconfig.patch" |
67 |
+) |
68 |
+ |
69 |
src_prepare() { |
70 |
default |
71 |
|
72 |
eautoreconf |
73 |
|
74 |
- #sed \ |
75 |
- # -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ |
76 |
- # -i configure || die |
77 |
- |
78 |
elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510 |
79 |
} |