summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-10-01 06:02:10 +0000
committermef <mef@pkgsrc.org>2016-10-01 06:02:10 +0000
commit669423d69e9ca04f8652e3620c757a0435b3fa49 (patch)
treeca674cf3093b33f1ae3502e53babced13babd004 /fonts
parent109cdb1ca253fbb1ad583788209a1647fcebafa9 (diff)
downloadpkgsrc-669423d69e9ca04f8652e3620c757a0435b3fa49.tar.gz
(1) Fix build for X11_TYPE= modular (but not fully tested)
(2) Fix configure phase problem (3) Add BUILD_DEPENDS for make test Thanks joerg and wiz.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/p5-Font-FreeType/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/fonts/p5-Font-FreeType/Makefile b/fonts/p5-Font-FreeType/Makefile
index 4416ccaf348..498112de6b8 100644
--- a/fonts/p5-Font-FreeType/Makefile
+++ b/fonts/p5-Font-FreeType/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/09/20 11:40:27 mef Exp $
+# $NetBSD: Makefile,v 1.7 2016/10/01 06:02:10 mef Exp $
#
DISTNAME= Font-FreeType-0.07
@@ -11,10 +11,18 @@ HOMEPAGE= http://search.cpan.org/dist/Font-FreeType/
COMMENT= Read font files and render glyphs from Perl using FreeType2
LICENSE= ${PERL5_LICENSE}
+DEPENDS+= p5-Devel-CheckLib-[0-9]*:../../devel/p5-Devel-CheckLib
+DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
+
+# for make test
+BUILD_DEPENDS+= p5-Test-Warnings-[0-9]*:../../devel/p5-Test-Warnings
+
PERL5_PACKLIST= auto/Font/FreeType/.packlist
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../lang/perl5/module.mk"
+.if ( !empty($X11_TYPE:Mnative) )
# to find freetype-config
.include "../../mk/x11.buildlink3.mk"
+.endif
.include "../../mk/bsd.pkg.mk"