gentoo-ebuilds/games-arcade/criticalmass/files/criticalmass-1.0.2-flags.patch
Ionen Wolkens ac4ee3fa01
games-arcade/criticalmass: EAPI6->8, misc changes
* use https for homepage
* depend on libsdl[opengl,sound,video] (doesn't launch without opengl)
* depend on zlib
* make dependency for music unconditional (generally feel audio/music
  being a broken-if-missing optfeature is questionable for games, there
  is an option to disable correctly in-game)
* tidy patches and add some bugrefs
* fix direct AR call (combined with -flags.patch)

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2022-08-11 14:44:06 -04:00

24 lines
510 B
Diff

https://bugs.gentoo.org/375739
--- a/configure.in
+++ b/configure.in
@@ -24,2 +24,3 @@
AC_PROG_RANLIB
+AM_PROG_AR
@@ -37,5 +38,2 @@
-CFLAGS=""
-CXXFLAGS=""
-
if test "x$GCC" = xyes; then
@@ -52,10 +50,2 @@
fi
-
-AC_ARG_ENABLE(optimize,
-[ --enable-optimize=level Enable optimization [default=2]],
- enable_optmize=$enableval, enable_optimize=2)
-if test "x$enable_optimize" != "xno" ; then
- CFLAGS="$CFLAGS -O$enable_optimize"
- CXXFLAGS="$CXXFLAGS -O$enable_optimize"
-fi