Skip Menu |

This queue is for tickets about the Font-FreeType CPAN distribution.

Report information
The Basics
Id: 64110
Status: resolved
Priority: 0/
Queue: Font-FreeType

People
Owner: Nobody in particular
Requestors: onitake [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: 0.04



Subject: Re: Bug #50287 for Font-FreeType: Makefile.PL patch
Date: Tue, 21 Dec 2010 12:51:57 +0100
To: bug-Font-FreeType [...] rt.cpan.org
From: Gregor Riepl <onitake [...] gmail.com>
I had similar problems building Font-FreeType-0.03. But I propose a better solution: Use pkg-config instead of hardcoding the search paths. That's how it was intended by the freetype developers anyway. The two lines in Makefile.PL should be: LIBS => `pkg-config --libs freetype2`, INC => `pkg-config --cflags freetype2`, Issues could occur if multiple pkg-configs are installed and the wrong one is picked up, but that can easily be fixed by pointing PKG_CONFIG_PATH to freetype2.pc's location.