diff options
author | petef <petef@FreeBSD.org> | 2002-05-15 20:25:24 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-05-15 20:25:24 +0000 |
commit | 17ba82e7316ee2fe6bcdbd35cddc22eb8c7d9471 (patch) | |
tree | f8ab880ca00dbd60ff7310bdd8720d12dca2446b /devel | |
parent | e9cc449de04749cdabd19d17c24928c583d78203 (diff) | |
download | FreeBSD-ports-17ba82e7316ee2fe6bcdbd35cddc22eb8c7d9471.zip FreeBSD-ports-17ba82e7316ee2fe6bcdbd35cddc22eb8c7d9471.tar.gz |
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')
-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 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 |