summaryrefslogtreecommitdiff
path: root/graphics/graphite2
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2016-09-08 17:32:49 +0000
committerrichard <richard@pkgsrc.org>2016-09-08 17:32:49 +0000
commit7e587ebdac96266a68d2cdbbdf7d85cd74a861bc (patch)
tree4a16b06afee39b2f94ffb467f0183cf6b2668402 /graphics/graphite2
parentf83431ae9c404bd055fb59ccf7a22bb38d50a462 (diff)
downloadpkgsrc-7e587ebdac96266a68d2cdbbdf7d85cd74a861bc.tar.gz
add freetype2 bl3 to fix build on Linux even if it is only used for testing
PR pkg/50775
Diffstat (limited to 'graphics/graphite2')
-rw-r--r--graphics/graphite2/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/graphics/graphite2/Makefile b/graphics/graphite2/Makefile
index 026e85ea833..134bbd35dc3 100644
--- a/graphics/graphite2/Makefile
+++ b/graphics/graphite2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/03/24 20:31:02 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2016/09/08 17:32:49 richard Exp $
DISTNAME= graphite2-1.3.7
CATEGORIES= graphics
@@ -14,4 +14,20 @@ USE_LANGUAGES= c c++
USE_CMAKE= yes
USE_LIBTOOL= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+# Linux seems to need this to build by default, but apparently it is
+# only used for test, so for now use 'build' dependency
+BUILDLINK_DEPMETHOD.freetype2?= build
+.include "../../graphics/freetype2/buildlink3.mk"
+.endif
+
+# python and py-fonttools seem to be used only during test
+# uncomment the following to do so
+#TEST_TARGET= test
+#PYTHON_FOR_BUILD_ONLY?= tool
+#.include "../../lang/python/tool.mk"
+#BUILD_DEPENDS+= ${PYPKGPREFIX}-fonttools-[0-9]*:../../fonts/py-fonttools/
+
.include "../../mk/bsd.pkg.mk"