openbsd-ports/devel/sdl/patches/patch-configure_in
2002-04-21 00:20:08 +00:00

26 lines
962 B
Plaintext

$OpenBSD: patch-configure_in,v 1.15 2002/04/21 00:20:08 pvalchev Exp $
--- configure.in.orig Sat Apr 13 17:57:24 2002
+++ configure.in Sat Apr 20 01:19:21 2002
@@ -468,7 +468,12 @@ CheckNASM()
NASMFLAGS="-f elf"
;;
esac
- AC_SUBST(NASMFLAGS)
+ case "$target" in
+ *-*-openbsd*)
+ NASMFLAGS="-f aoutb"
+ ;;
+ esac
+ AC_SUBST(NASMFLAGS)
CFLAGS="$CFLAGS -I\$(top_srcdir)/src/hermes"
SDL_EXTRADIRS="$SDL_EXTRADIRS hermes"
SDL_EXTRALIBS="$SDL_EXTRALIBS hermes/libhermes.la"
@@ -1681,6 +1686,7 @@ case "$target" in
if test x$enable_joystick = xyes; then
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
+ SYSTEM_LIBS="$SYSTEM_LIBS -lusbhid"
fi
# Set up files for the cdrom library
if test x$enable_cdrom = xyes; then