diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-19 02:19:15 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-04-19 02:30:19 +0200 |
commit | 297cc162bda9bc6dc4838e481c3ad1b6302d0a9c (patch) | |
tree | 941ea283f695158f3fe9946b01156028de3bb530 /dev-libs/libcdio | |
parent | dev-python/python-efl: amd64 stable wrt bug #683290 (diff) | |
download | gentoo-297cc162bda9bc6dc4838e481c3ad1b6302d0a9c.tar.gz gentoo-297cc162bda9bc6dc4838e481c3ad1b6302d0a9c.tar.bz2 gentoo-297cc162bda9bc6dc4838e481c3ad1b6302d0a9c.zip |
dev-libs/libcdio: Revbump to fix ncurses detection.
Package-Manager: Portage-2.3.63, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libcdio')
-rw-r--r-- | dev-libs/libcdio/files/libcdio-2.1.0-ncurses_pkgconfig.patch | 30 | ||||
-rw-r--r-- | dev-libs/libcdio/libcdio-2.1.0-r1.ebuild (renamed from dev-libs/libcdio/libcdio-2.1.0.ebuild) | 8 |
2 files changed, 34 insertions, 4 deletions
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 new file mode 100644 index 000000000000..b5ed62cc0722 --- /dev/null +++ b/dev-libs/libcdio/files/libcdio-2.1.0-ncurses_pkgconfig.patch @@ -0,0 +1,30 @@ +From 04f7da2f190ddc636a5c268f2428f36517f92e25 Mon Sep 17 00:00:00 2001 +From: Lars Wendler <polynomial-c@gentoo.org> +Date: Fri, 19 Apr 2019 02:24:04 +0200 +Subject: [PATCH] configure.ac: Search for pkg-config with its + PKG_PROG_PKG_CONFIG macro + +Otherwise the pkg-config command might not be found and thus some of the +required packages (like ncurses) as well. + +Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 5f9f9e78..711cb5df 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -27,6 +27,8 @@ AC_CANONICAL_HOST + AC_CONFIG_HEADERS(config.h) + AC_CONFIG_MACRO_DIR([m4]) + ++PKG_PROG_PKG_CONFIG ++ + # Enable silent build rules by default (Automake v1.11 or later). + # Disable by either passing --disable-silent-rules to configure or passing V=1 to make + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])], +-- +2.21.0 + diff --git a/dev-libs/libcdio/libcdio-2.1.0.ebuild b/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild index 91ca3e370f2d..a61b22b9d612 100644 --- a/dev-libs/libcdio/libcdio-2.1.0.ebuild +++ b/dev-libs/libcdio/libcdio-2.1.0-r1.ebuild @@ -36,15 +36,15 @@ MULTILIB_WRAPPED_HEADERS=( /usr/include/cdio/version.h ) +PATCHES=( + "${FILESDIR}/${PN}-2.1.0-ncurses_pkgconfig.patch" +) + src_prepare() { default eautoreconf - #sed \ - # -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ - # -i configure || die - elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510 } |