diff options
author | minskim <minskim@pkgsrc.org> | 2006-07-23 14:37:08 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-07-23 14:37:08 +0000 |
commit | 6020698c603444248694c7c56d5ade3b0e6a2b78 (patch) | |
tree | f6907aa6da747bd5d39797854bd97f761fceb43e /graphics | |
parent | 2e5be3d037f4f10175fe227ea6bae32523a8eda1 (diff) | |
download | pkgsrc-6020698c603444248694c7c56d5ade3b0e6a2b78.tar.gz |
Link against the Carbon library if the framework is available. This fixes
PR 33858.
Bump PKGREVISION.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/freetype2/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile index a6315cbef1c..1e7644ee7ae 100644 --- a/graphics/freetype2/Makefile +++ b/graphics/freetype2/Makefile @@ -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 @@ BUILD_DIRS= ${WRKSRC} 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" |