From 17ba82e7316ee2fe6bcdbd35cddc22eb8c7d9471 Mon Sep 17 00:00:00 2001 From: petef Date: Wed, 15 May 2002 20:25:24 +0000 Subject: Introduce two new hooks: WITHOUT_X11 and WITHOUT_ESOUND. It's now possible to compile sdl for console use only. Submitted by: Joe Sunday Approved by: sobomax (maintainer) --- devel/sdl12/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'devel') diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile index e44ea28..2d34f66 100644 --- a/devel/sdl12/Makefile +++ b/devel/sdl12/Makefile @@ -18,8 +18,6 @@ MAINTAINER= sobomax@FreeBSD.org LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm -USE_XLIB= yes -USE_ESOUND= yes INSTALLS_SHLIB= yes USE_LIBTOOL= yes CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \ @@ -40,6 +38,12 @@ PKGMESSAGE= /I/hate/ports/Mk/bsd.port.mk DISPLAY_MSG= ${DO_NADA} .endif +.if !defined(WITHOUT_X11) +USE_XLIB= yes +.endif +.if !defined(WITHOUT_ESOUND) +USE_ESOUND= yes +.endif .if defined(WITHOUT_GL) CONFIGURE_ARGS+=--disable-video-opengl .else -- cgit v1.1