summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-17 04:38:50 +0000
committerSam James <sam@gentoo.org>2021-03-17 04:43:11 +0000
commit7cee3d1c8220e3d1d08e92909ad33599a344db61 (patch)
tree82714f1deeb290d47648c4099eac5056b1bbc232 /games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch
parentdev-games/libmaitretarot: port to EAPI 7 (diff)
downloadgentoo-7cee3d1c8220e3d1d08e92909ad33599a344db61.tar.gz
gentoo-7cee3d1c8220e3d1d08e92909ad33599a344db61.tar.bz2
gentoo-7cee3d1c8220e3d1d08e92909ad33599a344db61.zip
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 <sam@gentoo.org>
Diffstat (limited to 'games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch')
-rw-r--r--games-board/mt_ncurses_client/files/mt_ncurses_client-0.1.98-libdir.patch34
1 files changed, 34 insertions, 0 deletions
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"