summaryrefslogtreecommitdiff
path: root/emulators/gnuboy/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-01-23 22:24:30 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-01-23 22:24:30 +0000
commitee1faa5ae2648a1851b61471c4fd2e73853111c7 (patch)
tree3a3efb140c0a53db84a0f481bb29c41e6665dc6d /emulators/gnuboy/Makefile
parent- Unbreak by changin mysql dependency (diff)
Let ports use the USE_SDL macro.
Notes
Notes: svn path=/head/; revision=98923
Diffstat (limited to '')
-rw-r--r--emulators/gnuboy/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile
index 88330620e2b8..499576ce6d03 100644
--- a/emulators/gnuboy/Makefile
+++ b/emulators/gnuboy/Makefile
@@ -15,16 +15,14 @@ MASTER_SITES= http://gnuboy.unix-fu.org/src/ \
MAINTAINER= ijliao@FreeBSD.org
COMMENT= Nintendo GameBoy emulator
-LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib \
- SDL-1.1.5:${PORTSDIR}/devel/sdl12
+LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
+USE_SDL= sdl
USE_REINPLACE= yes
USE_XLIB= yes
USE_AUTOCONF= yes
GNU_CONFIGURE= yes
-SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
-CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \
- CPPFLAGS="-I${LOCALBASE}/include"
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --with-sdl
post-patch: