diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-01-12 06:52:40 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-01-12 06:52:40 +0800 |
commit | 4055f77b8d929c3270fa9a23745e8aa5b1f088b8 (patch) | |
tree | d6778ed41ed8dcec4ea946b3389025f7af832030 /x11-toolkits/gtk20/Makefile | |
parent | e1fa691168e3949d91b24f06ad45f92a49b481ec (diff) | |
download | marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.tar marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.tar.gz marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.tar.bz2 marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.tar.lz marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.tar.xz marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.tar.zst marcuscom-ports-4055f77b8d929c3270fa9a23745e8aa5b1f088b8.zip |
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
Diffstat (limited to 'x11-toolkits/gtk20/Makefile')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
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 <vanilla@MinJe.com.TW> # # $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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> + +.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 <bsd.port.post.mk> +.include <bsd.port.mk> .endif |