pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/freetype2 Link against the Carbon library if ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8067d9627b2f
branches:  trunk
changeset: 516577:8067d9627b2f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Jul 23 14:37:08 2006 +0000

description:
Link against the Carbon library if the framework is available.  This fixes
PR 33858.

Bump PKGREVISION.

diffstat:

 graphics/freetype2/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 289038e1abfe -r 8067d9627b2f graphics/freetype2/Makefile
--- a/graphics/freetype2/Makefile       Sun Jul 23 14:35:48 2006 +0000
+++ b/graphics/freetype2/Makefile       Sun Jul 23 14:37:08 2006 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2006/05/29 22:05:21 tron Exp $
+# $NetBSD: Makefile,v 1.53 2006/07/23 14:37:08 minskim Exp $
 
 DISTNAME=      freetype-2.2.1
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/-/2-/}
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=freetype/} \
@@ -25,6 +26,10 @@
 CONFIGURE_ARGS+=       --includedir=${PREFIX}/include
 CONFIGURE_ENV+=                ac_cv_path_GREP=${GREP:Q} ac_cv_path_EGREP=${EGREP:Q}
 
+.if exists(/System/Library/Frameworks/Carbon.framework)
+LDFLAGS+=      -framework Carbon
+.endif
+
 PKGCONFIG_OVERRIDE=    builds/unix/freetype2.in
 
 .include "../../mk/bsd.prefs.mk"



Home | Main Index | Thread Index | Old Index