openbsd-ports/devel/sdl/patches/patch-configure_in

33 lines
992 B
Plaintext

$OpenBSD: patch-configure_in,v 1.21 2003/09/29 05:41:37 pvalchev Exp $
--- configure.in.orig 2003-08-30 21:13:18.000000000 +0200
+++ configure.in 2003-09-21 14:43:28.000000000 +0200
@@ -492,9 +492,6 @@ CheckNASM()
win32)
NASMFLAGS="-f win32"
;;
- openbsd)
- NASMFLAGS="-f aoutb"
- ;;
*)
NASMFLAGS="-f elf"
;;
@@ -2549,6 +2546,9 @@ fi
if test $ARCH = solaris; then
SDL_RLD_FLAGS="-R\${exec_prefix}/lib"
fi
+if test $ARCH = openbsd -a x$enable_video_x11 = xyes; then
+ SDL_RLD_FLAGS="-L${X11BASE}/lib"
+fi
case "$ARCH" in
openbsd | netbsd | bsdi)
@@ -2571,7 +2571,7 @@ esac
STATIC_SYSTEM_LIBS="$SYSTEM_LIBS"
dnl Output the video drivers we use
-if test x$enable_video = xtrue; then
+if test x$enable_video = xyes; then
if test "$VIDEO_SUBDIRS" = ""; then
AC_MSG_ERROR(*** No video drivers are enabled!)
fi