summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/cairo/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index 772a75944..20b4dbc0a 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -33,16 +33,13 @@ OPTIONS+= GLITZ "Enable Glitz OpenGL Support" On
.if !defined(WITHOUT_GLITZ)
LIB_DEPENDS+= glitz-glx.1:${PORTSDIR}/graphics/glitz
PLIST_SUB+= GLITZ=""
+PLIST_SUB+= X11=""
.else
PLIST_SUB+= GLITZ="@comment "
-.endif
-
.if defined(WITHOUT_X11)
CONFIGURE_ARGS+=--disable-xlib
PLIST_SUB+= X11="@comment "
-.else
-USE_XLIB= yes
-PLIST_SUB+= X11=""
+.endif
.endif
post-patch: