From 991a5387116639bf3ebcde8a9b44b62dac8b2ad2 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 4 Sep 2008 00:50:08 +0000 Subject: - Fix build WITH_MIKMOD PR: 125974 Submitted by: Tsurutani Naoki Approved by: maintainer timeout --- games/xpuyopuyo/files/patch-ltmain.sh | 41 +++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 games/xpuyopuyo/files/patch-ltmain.sh (limited to 'games/xpuyopuyo') diff --git a/games/xpuyopuyo/files/patch-ltmain.sh b/games/xpuyopuyo/files/patch-ltmain.sh new file mode 100644 index 000000000000..ae23433f8047 --- /dev/null +++ b/games/xpuyopuyo/files/patch-ltmain.sh @@ -0,0 +1,41 @@ +--- ltmain.sh.orig 2008-07-26 17:06:14.000000000 +0900 ++++ ltmain.sh 2008-07-26 17:06:24.000000000 +0900 +@@ -1710,6 +1710,38 @@ + lib= + found=no + case $deplib in ++ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads) ++ if test "$linkmode,$pass" = "prog,link"; then ++ compile_deplibs="$deplib $compile_deplibs" ++ finalize_deplibs="$deplib $finalize_deplibs" ++ else ++ compiler_flags="$compiler_flags $deplib" ++ fi ++ ++ case $linkmode in ++ lib) ++ deplibs="$deplib $deplibs" ++ test "$pass" = conv && continue ++ newdependency_libs="$deplib $newdependency_libs" ++ ;; ++ prog) ++ if test "$pass" = conv; then ++ deplibs="$deplib $deplibs" ++ continue ++ fi ++ if test "$pass" = scan; then ++ deplibs="$deplib $deplibs" ++ else ++ compile_deplibs="$deplib $compile_deplibs" ++ finalize_deplibs="$deplib $finalize_deplibs" ++ fi ++ ;; ++ *) ++ ;; ++ esac # linkmode ++ ++ continue ++ ;; + -l*) + if test $linkmode != lib && test $linkmode != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 -- cgit v1.2.3