summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-toolkits/pango/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
index d22134d2b2e8..61e842c7d743 100644
--- a/x11-toolkits/pango/Makefile
+++ b/x11-toolkits/pango/Makefile
@@ -53,6 +53,12 @@ CONFIGURE_ARGS+= --with-x=no
PLIST_SUB+= X11="@comment "
.endif
+pre-configure:
+.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-gobject.pc)
+ @${ECHO_CMD} "${PKGNAME}: Needs cairo with GLIB (GObject) support enabled."
+ @${FALSE}
+.endif
+
.include <bsd.port.mk>
.endif