summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-10-10 13:29:25 +0000
committerdrochner <drochner@pkgsrc.org>2012-10-10 13:29:25 +0000
commit3406719e10bef8c3ebbae708c7e2bd6edf35ec4a (patch)
treecda72f45b0c1fbcf5b91d53d437824aa18d30a5e
parent03a976f71104710753ee7aa15afd9f20b328c5af (diff)
downloadpkgsrc-3406719e10bef8c3ebbae708c7e2bd6edf35ec4a.tar.gz
explicitly disable xcb if the option is deselected
-rw-r--r--graphics/cairo/options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/cairo/options.mk b/graphics/cairo/options.mk
index a84200176ff..868407667ea 100644
--- a/graphics/cairo/options.mk
+++ b/graphics/cairo/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2012/10/02 12:09:40 tron Exp $
+# $NetBSD: options.mk,v 1.10 2012/10/10 13:29:25 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cairo
PKG_SUPPORTED_OPTIONS= x11 xcb
@@ -28,6 +28,8 @@ BUILDLINK_DEPMETHOD.libXt?= build # only for configure
CONFIGURE_ARGS+= --enable-xcb
PLIST.xcb= yes
. include "../../x11/libxcb/buildlink3.mk"
+. else
+CONFIGURE_ARGS+= --disable-xcb
. endif
.else