openbsd-ports/games/zaz/patches/patch-configure_ac

13 lines
664 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure_ac,v 1.1.1.1 2011/05/31 17:51:32 kili Exp $
--- configure.ac.orig Fri Jul 23 16:18:23 2010
+++ configure.ac Tue May 31 19:37:17 2011
@@ -14,7 +14,7 @@ PKG_CHECK_MODULES(ZAZ, [sdl vorbisfile theoraenc theor
PKG_CHECK_MODULES(FTGL, ftgl >= 2.1.3)
AC_CHECK_LIB(SDL_image, IMG_Load, [], AC_MSG_ERROR(no SDL_image found))
-AC_CHECK_LIB(vorbisenc, vorbis_encode_init, [], AC_MSG_ERROR(no vorbisenc found))
+AC_CHECK_LIB(vorbisenc, vorbis_encode_init, [], AC_MSG_ERROR(no vorbisenc found), -logg -lvorbis)
AC_CHECK_LIB(GL, main, [], AC_MSG_ERROR([OpenGL library not found.]))
AC_CHECK_HEADER(GL/gl.h, [], AC_MSG_ERROR(no GL/gl.h found))