From 7cee3d1c8220e3d1d08e92909ad33599a344db61 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 17 Mar 2021 04:38:50 +0000 Subject: games-board/mt_ncurses_client: fix libdir for library searches Closes: https://bugs.gentoo.org/716102 Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Sam James --- .../files/mt_ncurses_client-0.1.98-libdir.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch (limited to 'games-board/mt_ncurses_client/files') diff --git a/games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch b/games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch new file mode 100644 index 000000000000..73c5b184ca9f --- /dev/null +++ b/games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch @@ -0,0 +1,34 @@ +https://bugs.gentoo.org/739148 + +--- a/m4/libmaitretarot.m4 ++++ b/m4/libmaitretarot.m4 +@@ -9,10 +9,10 @@ AC_DEFUN([AM_LIB_MAITRETAROT], + --with-libmaitretarot path to libmaitretarot libraries, + [ + LIBMT_CFLAGS="-I${withval}/include" +- LIBMT_LIBS="-L${withval}/lib -lmaitretarot" ++ LIBMT_LIBS="-L${withval}/${libdir} -lmaitretarot" + ],[ +- LIBMT_CFLAGS="-I/usr/local/include -I/usr/include" +- LIBMT_LIBS="-L/usr/local/lib -L/usr/lib -lmaitretarot" ++ LIBMT_CFLAGS="-I/usr/include" ++ LIBMT_LIBS="-L${libdir} -lmaitretarot" + ]) + ac_save_CPPFLAGS="$CPPFLAGS" + ac_save_CFLAGS="$CFLAGS" +--- a/m4/libmt_client.m4 ++++ b/m4/libmt_client.m4 +@@ -9,10 +9,10 @@ AC_DEFUN([AM_LIB_MT_CLIENT], + --with-libmt_client path to libmt_client libraries, + [ + LIBMT_CFLAGS="-I${withval}/include" +- LIBMT_LIBS="-L${withval}/lib -lmt_client" ++ LIBMT_LIBS="-L${withval}/${libdir} -lmt_client" + ],[ +- LIBMT_CFLAGS="-I/usr/local/include -I/usr/include" +- LIBMT_LIBS="-L/usr/local/lib -L/usr/lib -lmt_client" ++ LIBMT_CFLAGS="-I/usr/include" ++ LIBMT_LIBS="-L${libdir} -lmt_client" + ]) + ac_save_CPPFLAGS="$CPPFLAGS" + ac_save_CFLAGS="$CFLAGS" -- cgit v1.2.3-65-gdbad