misc/121123: games/freeciv fails to build w/ sdl_mixer if sdl built with -pthreads

Denis Eremenko moonshade at pnhz.kz
Tue Feb 26 15:10:02 UTC 2008


>Number:         121123
>Category:       misc
>Synopsis:       games/freeciv fails to build w/ sdl_mixer if sdl built with -pthreads
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 26 15:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Denis Eremenko
>Release:        6-STABLE
>Organization:
>Environment:
>Description:
configure check of sdl_mixer fails sdl built with pthreads
>How-To-Repeat:

>Fix:
--- configure.orig	2008-02-06 20:55:21.000000000 +0600
+++ configure	2008-02-06 21:03:34.000000000 +0600
@@ -14684,7 +14684,11 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL_mixer  $LIBS"
+if test -n "$SDL_CONFIG"; then
+  LIBS="-lSDL_mixer  $SDL_LIBS  $LIBS"
+else
+  LIBS="-lSDL_mixer  $LIBS"
+fi
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list