diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-05-27 15:24:20 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-05-27 15:24:20 +0000 |
commit | cce58bca30e27652863ee03144e8815c0042974f (patch) | |
tree | ed8908899b8e7fdd2a0a7b41de1cfef3129120dd /emulators/hugo/files/patch-configure | |
parent | - Fix build on 7.0 (diff) |
Add hugo 2.12, a PC Engine (TurboGrafx 16) emulator.
PR: ports/97519
Submitted by: Li-Lun Wang <llwang@infor.org>
Notes
Notes:
svn path=/head/; revision=163616
Diffstat (limited to 'emulators/hugo/files/patch-configure')
-rw-r--r-- | emulators/hugo/files/patch-configure | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/emulators/hugo/files/patch-configure b/emulators/hugo/files/patch-configure new file mode 100644 index 000000000000..e091c8d8495d --- /dev/null +++ b/emulators/hugo/files/patch-configure @@ -0,0 +1,65 @@ +--- configure.orig Tue Apr 5 14:28:53 2005 ++++ configure Fri May 19 02:02:42 2006 +@@ -3256,7 +3256,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lSDL $LIBS" ++LIBS="`${SDL_CONFIG} --libs` $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -3312,7 +3312,7 @@ + #define HAVE_LIBSDL 1 + _ACEOF + +- LIBS="-lSDL $LIBS" ++ LIBS="`${SDL_CONFIG} --libs` $LIBS" + + fi + #,,[AC_MSG_ERROR([need SDL. See #http://www.libsdl.org])]) +@@ -7877,7 +7877,7 @@ + echo "$as_me:$LINENO: checking whether netplay support was asked" >&5 + echo $ECHO_N "checking whether netplay support was asked... $ECHO_C" >&6 + +-if test "x$HAVE_LIBSDL_NET" == "xyes" ++if test "x$HAVE_LIBSDL_NET" = "xyes" + then + + +@@ -8675,7 +8675,36 @@ + SDL_FREEBSD_FALSE= + fi + ++ ++ if test "$USE_SDL_mixer" = "yes"; then ++ LIBS="$LIBS -lSDL_mixer " ++ ++ ++if true; then ++ SDL_MIXER_LINUX_TRUE= ++ SDL_MIXER_LINUX_FALSE='#' ++else ++ SDL_MIXER_LINUX_TRUE='#' ++ SDL_MIXER_LINUX_FALSE= ++fi ++ ++ fi ++ ++ if test "$OGG_SUPPORT" = "yes"; then ++ LIBS="$LIBS -lvorbis -lvorbisfile" ++ ++ ++if true; then ++ ZE_HCD_OGG_SUPPORT_TRUE= ++ ZE_HCD_OGG_SUPPORT_FALSE='#' ++else ++ ZE_HCD_OGG_SUPPORT_TRUE='#' ++ ZE_HCD_OGG_SUPPORT_FALSE= ++fi ++ # ZE_: needs to be processed after SDL_MIXER_LINUX... ++ fi ++ + ;; + sun4u-SunOS) + echo "Solaris build enabled" |