diff options
Diffstat (limited to 'graphics/cairo-gobject')
-rw-r--r-- | graphics/cairo-gobject/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/graphics/cairo-gobject/Makefile b/graphics/cairo-gobject/Makefile index 63d279d4e97..7748279c35c 100644 --- a/graphics/cairo-gobject/Makefile +++ b/graphics/cairo-gobject/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/04/22 13:42:28 obache Exp $ +# $NetBSD: Makefile,v 1.4 2011/09/09 08:23:58 adam Exp $ DISTNAME= cairo-1.10.2 PKGNAME= cairo-gobject-1.10.2 @@ -23,10 +23,20 @@ USE_PKGLOCALEDIR= yes USE_TOOLS+= pkg-config PKGCONFIG_OVERRIDE+= src/cairo.pc.in src/cairo-features.pc.in GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-gl CONFIGURE_ARGS+= --enable-pdf CONFIGURE_ARGS+= --enable-ps +.if exists(/System/Library/Frameworks/Carbon.framework) +CONFIGURE_ARGS+= --enable-quartz +CONFIGURE_ARGS+= --enable-quartz-font +CONFIGURE_ARGS+= --enable-quartz-image +CONFIGURE_ARGS+= --disable-gl +CONFIGURE_ARGS+= --disable-xlib +CONFIGURE_ARGS+= --disable-xlib-xrender +.else +CONFIGURE_ARGS+= --enable-gl +.endif + # For snprintf() and ctime_r() CPPFLAGS.SunOS+= -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS |