diff options
author | Pete Fritchman <petef@FreeBSD.org> | 2002-05-15 20:25:24 +0000 |
---|---|---|
committer | Pete Fritchman <petef@FreeBSD.org> | 2002-05-15 20:25:24 +0000 |
commit | c00ff1244680bbdd619d91d8b2173160c9cfa09e (patch) | |
tree | 1c3ffbec7dd80e611568e90e82fd5d2030769f2e /devel/sdl12 | |
parent | - update to 1.0.0 (diff) |
Introduce two new hooks: WITHOUT_X11 and WITHOUT_ESOUND.
It's now possible to compile sdl for console use only.
Submitted by: Joe Sunday <sunday@csh.rit.edu>
Approved by: sobomax (maintainer)
Diffstat (limited to 'devel/sdl12')
-rw-r--r-- | devel/sdl12/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile index e44ea28421ed..2d34f664ffbe 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 |