aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2006-08-17 08:23:30 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2006-08-17 08:23:30 +0000
commitc6ec602398da62cb1dcd869bb71853d1d5aaefcc (patch)
tree6a1b0da69e03c6ebb4c7a10e5cafd9deca0f63e6 /devel/sdl12/Makefile
parent0963c5f0b610a8615db408db75c4fb755a96a34a (diff)
downloadports-c6ec602398da62cb1dcd869bb71853d1d5aaefcc.tar.gz
ports-c6ec602398da62cb1dcd869bb71853d1d5aaefcc.zip
Utilize WITHOUT_X11 knob to disable X11R6 dependencies.
PR: ports/101651 Submitted by: Stefan Sperling <freebsd-gnats@stsp.in-berlin.de>
Notes
Notes: svn path=/head/; revision=170849
Diffstat (limited to 'devel/sdl12/Makefile')
-rw-r--r--devel/sdl12/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index 70d52a5a59de..7e3ac5bb964e 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -32,7 +32,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+.if !defined(WITHOUT_X11)
USE_XLIB= yes
+.else
+PKGNAMESUFFIX= -nox11
+CONFIGURE_ARGS+=--disable-video-x11
+.endif
.if !defined(NOPORTDOCS)
PORTDOCS= *