add libm check.
This commit is contained in:
parent
0ef1192251
commit
ef4d66b6ee
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user