pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/pango Build the atsui module only when the x11 o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2efd68a0383a
branches:  trunk
changeset: 516658:2efd68a0383a
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jul 24 23:20:50 2006 +0000

description:
Build the atsui module only when the x11 option is disabled, because it
causes the xlib backend of cairo to crash.  Bump PKGREVISION.

diffstat:

 devel/pango/Makefile   |  10 ++--------
 devel/pango/options.mk |  11 ++++++++++-
 2 files changed, 12 insertions(+), 9 deletions(-)

diffs (56 lines):

diff -r 8b6dc1ad1677 -r 2efd68a0383a devel/pango/Makefile
--- a/devel/pango/Makefile      Mon Jul 24 23:05:24 2006 +0000
+++ b/devel/pango/Makefile      Mon Jul 24 23:20:50 2006 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.80 2006/07/24 18:09:43 minskim Exp $
+# $NetBSD: Makefile,v 1.81 2006/07/24 23:20:50 minskim Exp $
 
 DISTNAME=              pango-1.12.3
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            devel fonts
 MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.10/ \
                        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.10/ \
@@ -40,12 +40,6 @@
 # Avoid an ICE in gcc2 on sparc64
 CONFIGURE_ENV+=                F77=${FALSE:Q}
 
-.if exists(/System/Library/Frameworks/Carbon.framework)
-PLIST_SUBST+=          CARBON=
-.else
-PLIST_SUBST+=          CARBON="@comment "
-.endif
-
 .include "options.mk"
 
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.10.0
diff -r 8b6dc1ad1677 -r 2efd68a0383a devel/pango/options.mk
--- a/devel/pango/options.mk    Mon Jul 24 23:05:24 2006 +0000
+++ b/devel/pango/options.mk    Mon Jul 24 23:20:50 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2006/07/23 04:59:34 minskim Exp $
+# $NetBSD: options.mk,v 1.2 2006/07/24 23:20:50 minskim Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.pango
 PKG_SUPPORTED_OPTIONS= x11
@@ -10,6 +10,10 @@
 ### X11 support
 ###
 .if !empty(PKG_OPTIONS:Mx11)
+# Force not to build the atsui module, because it causes the xlib backend
+# of cairo to crash.
+CONFIGURE_ENV+=        ac_cv_lib_cairo_cairo_atsui_font_face_create_for_atsu_font_id=no
+PLIST_SUBST+=          CARBON="@comment "
 PLIST_SUBST+=          X11=""
 BUILDLINK_API_DEPENDS.Xrender+=        Xrender>=0.8
 .include "../../fonts/Xft2/buildlink3.mk"
@@ -18,4 +22,9 @@
 .else
 CONFIGURE_ARGS+=       --without-x
 PLIST_SUBST+=          X11="@comment "
+.if exists(/System/Library/Frameworks/Carbon.framework)
+PLIST_SUBST+=          CARBON=
+.else
+PLIST_SUBST+=          CARBON="@comment "
 .endif
+.endif



Home | Main Index | Thread Index | Old Index