Date: Tue, 26 Feb 2008 14:58:57 GMT From: Denis Eremenko <moonshade@pnhz.kz> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/121123: games/freeciv fails to build w/ sdl_mixer if sdl built with -pthreads Message-ID: <200802261458.m1QEwvP5036680@www.freebsd.org> Resent-Message-ID: <200802261510.m1QFA2Dt003802@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802261458.m1QEwvP5036680>