mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emulation/fuse-utils: avoid /usr/lib in the link command line
Closes: https://bugs.gentoo.org/734210 Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16885 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
22
app-emulation/fuse-utils/files/remove-local-prefix.patch
Normal file
22
app-emulation/fuse-utils/files/remove-local-prefix.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff -Naur fuse-utils-1.4.3/configure.ac fuse-utils-1.4.3-patched/configure.ac
|
||||
--- fuse-utils-1.4.3/configure.ac 2018-07-01 02:09:55.000000000 +0200
|
||||
+++ fuse-utils-1.4.3-patched/configure.ac 2020-07-28 17:02:05.287721692 +0200
|
||||
@@ -92,18 +92,6 @@
|
||||
)
|
||||
fi
|
||||
|
||||
-dnl Allow the user to say that various libraries are in one place
|
||||
-AC_ARG_WITH(local-prefix,
|
||||
-[ --with-local-prefix=PFX local libraries installed in PFX (optional)],
|
||||
-CPPFLAGS="$CPPFLAGS -I$withval/include";
|
||||
-CXXFLAGS="$CXXFLAGS -I$withval/include";
|
||||
-LDFLAGS="$LDFLAGS -L$withval/lib",
|
||||
-if test "$prefix" != "NONE"; then
|
||||
- CPPFLAGS="$CPPFLAGS -I$prefix/include";
|
||||
- CXXFLAGS="$CXXFLAGS -I$prefix/include";
|
||||
- LDFLAGS="$LDFLAGS -L$prefix/lib"
|
||||
-fi)
|
||||
-
|
||||
dnl Check if libjpeg is available and supports jpeg_write_scanlines
|
||||
AC_MSG_CHECKING(whether to use libjpeg)
|
||||
AC_ARG_WITH(libjpeg,
|
||||
@@ -1,8 +1,10 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Utils for the Free Unix Spectrum Emulator by Philip Kendall"
|
||||
HOMEPAGE="http://fuse-emulator.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
|
||||
@@ -20,6 +22,15 @@ RDEPEND=">=app-emulation/libspectrum-1.4.4[gcrypt?,zlib?]
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/remove-local-prefix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_with audiofile)
|
||||
|
||||
Reference in New Issue
Block a user