summaryrefslogtreecommitdiff
path: root/graphics/freetype2/Makefile
diff options
context:
space:
mode:
authordsainty <dsainty>2014-07-07 07:14:27 +0000
committerdsainty <dsainty>2014-07-07 07:14:27 +0000
commitd4b9ac842b5249cb3772633f646363c34942b350 (patch)
tree7bc6e7c86c0d0619befc282ccd04747e32c4e1c4 /graphics/freetype2/Makefile
parente897f258170f4b09fa02c6c8daf0c4e4a89d856e (diff)
downloadpkgsrc-d4b9ac842b5249cb3772633f646363c34942b350.tar.gz
Add: CONFIGURE_ARGS+=--with-harfbuzz=no
Fixes the build on systems with a native harfbuzz library, where the library will otherwise be auto-detected. Add: USE_TOOLS+=pkg-config Not identified as fixing any real-world problems, but it corrects build behaviour if buildlinking harfbuzz for diagnostic purposes. Helps with working around the problems identified in PR pkg/48919. No PKGREVISION bump - I believe all the problems fixed here prevent this package from building at all if on an affected platform, and unaffected platforms will not be affected by these changes.
Diffstat (limited to 'graphics/freetype2/Makefile')
-rw-r--r--graphics/freetype2/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/freetype2/Makefile b/graphics/freetype2/Makefile
index 338f777d3cd..d6e0a0e71a5 100644
--- a/graphics/freetype2/Makefile
+++ b/graphics/freetype2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2014/03/15 01:43:05 obache Exp $
+# $NetBSD: Makefile,v 1.96 2014/07/07 07:14:27 dsainty Exp $
DISTNAME= freetype-2.5.3
PKGNAME= ${DISTNAME:S/-/2-/}
@@ -16,12 +16,13 @@ LICENSE= gnu-gpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
-USE_TOOLS+= grep gmake
+USE_TOOLS+= grep gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_DIRS= builds/unix
BUILD_DIRS= .
CONFIGURE_ARGS+= --includedir=${PREFIX}/include
CONFIGURE_ARGS+= --enable-shared
+CONFIGURE_ARGS+= --with-harfbuzz=no
CONFIGURE_ENV+= ac_cv_path_GREP=${GREP:Q} ac_cv_path_EGREP=${EGREP:Q}
.if exists(/System/Library/Frameworks/Carbon.framework)