pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/pango Enable the atsui module if the Carbon fram...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/211a71dc8472
branches:  trunk
changeset: 516558:211a71dc8472
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jul 23 05:13:21 2006 +0000

description:
Enable the atsui module if the Carbon framework is available.
Bump PKGREVISION.

diffstat:

 devel/pango/Makefile |  9 ++++++++-
 devel/pango/PLIST    |  3 ++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 6d9087fb9a9c -r 211a71dc8472 devel/pango/Makefile
--- a/devel/pango/Makefile      Sun Jul 23 05:08:49 2006 +0000
+++ b/devel/pango/Makefile      Sun Jul 23 05:13:21 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.78 2006/07/23 04:59:33 minskim Exp $
+# $NetBSD: Makefile,v 1.79 2006/07/23 05:13:21 minskim Exp $
 
 DISTNAME=              pango-1.12.3
+PKGREVISION=           1
 CATEGORIES=            devel fonts
 MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.10/ \
                        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.10/ \
@@ -39,6 +40,12 @@
 # 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 6d9087fb9a9c -r 211a71dc8472 devel/pango/PLIST
--- a/devel/pango/PLIST Sun Jul 23 05:08:49 2006 +0000
+++ b/devel/pango/PLIST Sun Jul 23 05:13:21 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2006/07/23 04:59:34 minskim Exp $
+@comment $NetBSD: PLIST,v 1.27 2006/07/23 05:13:21 minskim Exp $
 bin/pango-querymodules
 ${X11}bin/pango-view
 include/pango-1.0/pango/pango-attributes.h
@@ -37,6 +37,7 @@
 ${X11}lib/libpangoxft-1.0.la
 lib/pango/1.5.0/modules/pango-arabic-fc.la
 lib/pango/1.5.0/modules/pango-basic-fc.la
+${CARBON}lib/pango/1.5.0/modules/pango-basic-atsui.la
 ${X11}lib/pango/1.5.0/modules/pango-basic-x.la
 lib/pango/1.5.0/modules/pango-hangul-fc.la
 lib/pango/1.5.0/modules/pango-hebrew-fc.la



Home | Main Index | Thread Index | Old Index