diff options
author | adam <adam@pkgsrc.org> | 2011-09-09 08:23:58 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-09-09 08:23:58 +0000 |
commit | f5b00db9c51018043045538c059971eb9a2e710f (patch) | |
tree | 1fac4a508d30d5fcb3e262337ac73310c9ec5070 /graphics | |
parent | f45b0f045814b16da88b64ba7ac357e5ed8b691d (diff) | |
download | pkgsrc-f5b00db9c51018043045538c059971eb9a2e710f.tar.gz |
Fix building on Darwin
Diffstat (limited to 'graphics')
-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 |