pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/p5-Font-FreeType USE_TOOLS+= pkg-config instead ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2c3c092f15a
branches:  trunk
changeset: 353241:d2c3c092f15a
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Oct 01 12:35:33 2016 +0000

description:
USE_TOOLS+= pkg-config instead of using freetype-config, thanks wiz@

diffstat:

 fonts/p5-Font-FreeType/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r a88293eaa972 -r d2c3c092f15a fonts/p5-Font-FreeType/Makefile
--- a/fonts/p5-Font-FreeType/Makefile   Sat Oct 01 12:33:15 2016 +0000
+++ b/fonts/p5-Font-FreeType/Makefile   Sat Oct 01 12:35:33 2016 +0000
@@ -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 @@
 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 @@
 
 .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"



Home | Main Index | Thread Index | Old Index