summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2006-07-23 01:01:28 +0000
committerminskim <minskim>2006-07-23 01:01:28 +0000
commit171af8645149574fa3adfed7f12547b0e8582c60 (patch)
tree424ff77436846adc0bb054326846e203a2b7b219
parent37073ef4c26f7da4b3e2aa9c5779aab903811d06 (diff)
downloadpkgsrc-171af8645149574fa3adfed7f12547b0e8582c60.tar.gz
Make the quartz test resemble the one in configure. This makes it
easier to add the atsui backend later. Currently, the atsui backend may not be enabled because it would break pango-1.12.x.
-rw-r--r--graphics/cairo/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index a7cb4f24797..47a45fee26c 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2006/07/05 09:39:11 tron Exp $
+# $NetBSD: Makefile,v 1.38 2006/07/23 01:01:28 minskim Exp $
DISTNAME= cairo-1.2.0
PKGREVISION= 1
@@ -21,9 +21,7 @@ CONFIGURE_ARGS+= --enable-pdf
CONFIGURE_ARGS+= --enable-ps
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "Darwin" && exists(/System/Library/Frameworks/Quartz.framework)
+.if exists(/System/Library/Frameworks/Carbon.framework)
CONFIGURE_ARGS+= --enable-quartz
PLIST_SUBST+= QUARTZ=
.else