aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-01-24 06:24:30 +0800
committeredwin <edwin@FreeBSD.org>2004-01-24 06:24:30 +0800
commit9c03c95856f857adcc16149d384b7b10440a5d69 (patch)
tree416fd428117c8e2faa4d97e0415d228771edf1cc /emulators
parent6a590c85d56f5c88a3dfd0cd0e3dcf8076cca8fc (diff)
downloadfreebsd-ports-gnome-9c03c95856f857adcc16149d384b7b10440a5d69.tar.gz
freebsd-ports-gnome-9c03c95856f857adcc16149d384b7b10440a5d69.tar.zst
freebsd-ports-gnome-9c03c95856f857adcc16149d384b7b10440a5d69.zip
Let ports use the USE_SDL macro.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/gngb/Makefile3
-rw-r--r--emulators/gnuboy/Makefile8
2 files changed, 4 insertions, 7 deletions
diff --git a/emulators/gngb/Makefile b/emulators/gngb/Makefile
index ee9b618bea02..c80491ea2645 100644
--- a/emulators/gngb/Makefile
+++ b/emulators/gngb/Makefile
@@ -15,8 +15,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= GameBoy(tm) emulator
-LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12
-
+USE_SDL= sdl
GNU_CONFIGURE= yes
USE_REINPLACE= yes
USE_GMAKE= yes
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: