From 4055f77b8d929c3270fa9a23745e8aa5b1f088b8 Mon Sep 17 00:00:00 2001 From: kwm Date: Tue, 11 Jan 2011 22:52:40 +0000 Subject: Switch to bsd.port.options.mk. Also add Broken line when cairo isn't build with X11 support. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14987 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-toolkits/gtk20/Makefile | 10 +++++++--- x11-toolkits/gtk30/Makefile | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index e30b7bbf8..f4cb4e71e 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -3,7 +3,7 @@ # Whom: Vanilla I. Shu # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.213 2010/12/23 23:23:06 kwm Exp $ +# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.214 2011/01/07 14:26:35 kwm Exp $ # PORTNAME= gtk @@ -57,7 +57,11 @@ CONFIGURE_ARGS+= --enable-debug=yes OPTIONS= CUPS "Enable cups printing support" on -.include +.include + +.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) +BROKEN= Rebuild graphics/cairo with X11 support. +.endif .if defined(WITH_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client @@ -89,6 +93,6 @@ post-install: ${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/docs/reference/gtk/|} \ ${PREFIX}/man/man1 -.include +.include .endif diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index a23289d4a..6c899b7f1 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -3,7 +3,7 @@ # Whom: Vanilla I. Shu # # $FreeBSD$ -# $MCom: ports/x11-toolkits/gtk30/Makefile,v 1.16 2011/01/07 13:54:53 kwm Exp $ +# $MCom: ports/x11-toolkits/gtk30/Makefile,v 1.17 2011/01/11 11:23:02 kwm Exp $ # PORTNAME= gtk @@ -59,7 +59,11 @@ CONFIGURE_ARGS+= --enable-debug=yes OPTIONS= CUPS "Enable cups printing support" on -.include +.include + +.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) +BROKEN= Rebuild graphics/cairo with X11 support. +.endif .if defined(WITH_CUPS) LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client @@ -91,6 +95,6 @@ post-install: ${INSTALL_MAN} ${MAN1:S|^|${WRKSRC}/docs/reference/gtk/|} \ ${PREFIX}/man/man1 -.include +.include .endif -- cgit