aboutsummaryrefslogtreecommitdiff
path: root/devel/sdl12/Makefile
diff options
context:
space:
mode:
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= *