aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl12
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2006-08-17 16:23:30 +0800
committerkrion <krion@FreeBSD.org>2006-08-17 16:23:30 +0800
commit5d80c09d61511496a182c9258e82b12ed5f8ada7 (patch)
tree2c05d6364e612be842ba000e316723a768f3d86c /devel/sdl12
parentce14cede893705cbeda2390d6e0c66e2ca88272d (diff)
downloadfreebsd-ports-gnome-5d80c09d61511496a182c9258e82b12ed5f8ada7.tar.gz
freebsd-ports-gnome-5d80c09d61511496a182c9258e82b12ed5f8ada7.tar.zst
freebsd-ports-gnome-5d80c09d61511496a182c9258e82b12ed5f8ada7.zip
Utilize WITHOUT_X11 knob to disable X11R6 dependencies.
PR: ports/101651 Submitted by: Stefan Sperling <freebsd-gnats@stsp.in-berlin.de>
Diffstat (limited to 'devel/sdl12')
-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= *