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:
Jan Ziak
2020-07-28 17:32:31 +02:00
committed by Joonas Niilola
parent c36a73546f
commit 322843625d
2 changed files with 34 additions and 1 deletions

View 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,

View File

@@ -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)