openbsd-ports/games/freeciv/patches/patch-configure

31 lines
1.0 KiB
Plaintext

$OpenBSD: patch-configure,v 1.7 2004/08/12 15:02:25 naddy Exp $
--- configure.orig 2004-05-31 13:55:42.000000000 +0200
+++ configure 2004-05-31 13:57:44.000000000 +0200
@@ -6855,7 +6860,7 @@ if test "${ac_cv_lib_intl_ngettext+set}"
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl $LIBS"
+LIBS="-lintl ${LIBICONV} $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@ -6908,7 +6913,7 @@ if test $ac_cv_lib_intl_ngettext = yes;
echo $ECHO_N "checking whether libintl's ngettext works at runtime... $ECHO_C" >&6
templibs="$LIBS"
-LIBS=""-lintl" $LIBS"
+LIBS=""-lintl" ${LIBICONV} $LIBS"
templang="$LANG"
LANG="de_DE"
if test "$cross_compiling" = yes; then
@@ -11745,7 +11745,7 @@ if test "${ac_cv_lib_SDL_mixer_Mix_OpenA
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL_mixer $LIBS"
+LIBS="$SDL_LIBS -lSDL_mixer $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */