mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/libcdaudio: fix hardcoded /usr/lib in libcdaudio-config
Bug: https://bugs.gentoo.org/832199 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
diff -ur a/libcdaudio-config.in b/libcdaudio-config.in
|
||||
--- a/libcdaudio-config.in 2022-02-23 09:34:38.948920631 -0600
|
||||
+++ b/libcdaudio-config.in 2022-02-23 09:34:56.239410252 -0600
|
||||
@@ -49,7 +49,7 @@
|
||||
echo @LIB_LDADD@
|
||||
;;
|
||||
--libs)
|
||||
- libdir=-L${exec_prefix}/lib
|
||||
+ libdir=-L${exec_prefix}@libdir@
|
||||
echo $libdir -lcdaudio @LIBS@
|
||||
;;
|
||||
*)
|
||||
28
media-libs/libcdaudio/libcdaudio-0.99.12-r3.ebuild
Normal file
28
media-libs/libcdaudio/libcdaudio-0.99.12-r3.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Library of cd audio related routines"
|
||||
HOMEPAGE="http://libcdaudio.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch
|
||||
"${FILESDIR}"/${P}-bug245649.patch
|
||||
"${FILESDIR}"/${P}-libdir-fix.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf --enable-threads --disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user