summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-01-23 22:24:30 +0000
committeredwin <edwin@FreeBSD.org>2004-01-23 22:24:30 +0000
commit9c03c95856f857adcc16149d384b7b10440a5d69 (patch)
tree416fd428117c8e2faa4d97e0415d228771edf1cc /emulators
parent6a590c85d56f5c88a3dfd0cd0e3dcf8076cca8fc (diff)
downloadFreeBSD-ports-9c03c95856f857adcc16149d384b7b10440a5d69.zip
FreeBSD-ports-9c03c95856f857adcc16149d384b7b10440a5d69.tar.gz
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 ee9b618..c80491e 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 8833062..499576c 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:
OpenPOWER on IntegriCloud