diff --git a/games/lgeneral/Makefile b/games/lgeneral/Makefile index 9b88a8b43d1..f4e4d5631d2 100644 --- a/games/lgeneral/Makefile +++ b/games/lgeneral/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2002/05/25 21:16:49 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.6 2002/05/26 01:07:57 brad Exp $ COMMENT= "turn-based strategy engine" VERSION= 0.5.0 DISTNAME= lgeneral-${VERSION} CATEGORIES= games x11 -NEED_VERSION= 1.433 +NEED_VERSION= 1.525 HOMEPAGE= http://lgeneral.sourceforge.net/ @@ -24,7 +24,6 @@ LIB_DEPENDS= SDL::devel/sdl \ USE_X11= Yes CONFIGURE_STYLE= autoconf -CONFIGURE_ENV= LIBS="-lm" post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lgeneral diff --git a/games/lgeneral/patches/patch-configure_in b/games/lgeneral/patches/patch-configure_in index a7ed7da0fb9..8fa5862a1bd 100644 --- a/games/lgeneral/patches/patch-configure_in +++ b/games/lgeneral/patches/patch-configure_in @@ -1,7 +1,16 @@ -$OpenBSD: patch-configure_in,v 1.1.1.1 2001/08/11 00:58:26 pvalchev Exp $ ---- configure.in.orig Fri Aug 3 13:45:21 2001 -+++ configure.in Fri Aug 10 17:46:56 2001 -@@ -60,7 +60,7 @@ AC_SUBST(sound_flag) +$OpenBSD: patch-configure_in,v 1.2 2002/05/26 01:07:57 brad Exp $ +--- configure.in.orig Fri Aug 3 15:45:21 2001 ++++ configure.in Sat May 25 19:59:07 2002 +@@ -50,6 +50,8 @@ mixer_flag="-lSDL_mixer" + AC_ARG_ENABLE( sound, + [ --disable-sound Disables sound], sound_flag=""; mixer_flag="") + ++AC_CHECK_LIB(m, sqrt) ++ + dnl check if SDL_mixer's installed + dnl if not: clear sound_flag and mixer_flag + AC_CHECK_LIB(SDL_mixer, main, +@@ -60,7 +62,7 @@ AC_SUBST(sound_flag) AC_SUBST(mixer_flag) dnl installation path