aboutsummaryrefslogtreecommitdiff
path: root/games/xpuyopuyo
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-04 00:50:08 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-09-04 00:50:08 +0000
commit991a5387116639bf3ebcde8a9b44b62dac8b2ad2 (patch)
treea4048be3e1b643c239d0cdf30e0db27e1d5aa04b /games/xpuyopuyo
parentd7578b494b7df1145367dea35526a178e9de92cb (diff)
downloadports-991a5387116639bf3ebcde8a9b44b62dac8b2ad2.tar.gz
ports-991a5387116639bf3ebcde8a9b44b62dac8b2ad2.zip
- Fix build WITH_MIKMOD
PR: 125974 Submitted by: Tsurutani Naoki <turutani at scphys dot kyoto-u dot ac dot jp> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=219812
Diffstat (limited to 'games/xpuyopuyo')
-rw-r--r--games/xpuyopuyo/files/patch-ltmain.sh41
1 files changed, 41 insertions, 0 deletions
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