summaryrefslogtreecommitdiff
path: root/fonts/p5-Font-FreeType
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-10-01 12:35:33 +0000
committermef <mef@pkgsrc.org>2016-10-01 12:35:33 +0000
commit12c6f098dcf7ee5f7a0bc6b965b6f20d3af3605c (patch)
tree6f137dc101f7dc5bc4d444ed26965da8c1f40c07 /fonts/p5-Font-FreeType
parent1fcafb3f81cb10d95129e91ad4798b5e6d41aa4e (diff)
downloadpkgsrc-12c6f098dcf7ee5f7a0bc6b965b6f20d3af3605c.tar.gz
USE_TOOLS+= pkg-config instead of using freetype-config, thanks wiz@
Diffstat (limited to 'fonts/p5-Font-FreeType')
-rw-r--r--fonts/p5-Font-FreeType/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/fonts/p5-Font-FreeType/Makefile b/fonts/p5-Font-FreeType/Makefile
index 498112de6b8..14282ab0046 100644
--- a/fonts/p5-Font-FreeType/Makefile
+++ b/fonts/p5-Font-FreeType/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2016/10/01 06:02:10 mef Exp $
+# $NetBSD: Makefile,v 1.8 2016/10/01 12:35:33 mef Exp $
#
DISTNAME= Font-FreeType-0.07
@@ -11,6 +11,8 @@ HOMEPAGE= http://search.cpan.org/dist/Font-FreeType/
COMMENT= Read font files and render glyphs from Perl using FreeType2
LICENSE= ${PERL5_LICENSE}
+USE_TOOLS+= pkg-config
+
DEPENDS+= p5-Devel-CheckLib-[0-9]*:../../devel/p5-Devel-CheckLib
DEPENDS+= p5-File-Which-[0-9]*:../../devel/p5-File-Which
@@ -21,8 +23,5 @@ 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"