Fix building on Darwin
This commit is contained in:
parent
01bd7bfcfc
commit
8699420c33
1 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue