perl-Tk/Tk-804.032-update-comment-about-freetype.h-location.patch

36 lines
1.2 KiB
Diff

From e938fd3c94cd6f91fed4eb8aa217ec855dd4f00b Mon Sep 17 00:00:00 2001
From: Slaven Rezic <slaven@rezic.de>
Date: Sun, 27 Apr 2014 20:50:58 +0200
Subject: [PATCH 05/10] update comment about freetype.h location
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
myConfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/myConfig b/myConfig
index 3ca8144..a498b3a 100755
--- a/myConfig
+++ b/myConfig
@@ -147,12 +147,12 @@ sub Ift
{
foreach (map { "$_/freetype2" } @_)
{
- if (-r "$_/freetype.h") # location in Debian (since jessie)
+ if (-r "$_/freetype.h") # location in Debian (since jessie) and in newer versions of the FreeBSD port
{
print "Using -I$_ to find $_/freetype/freetype.h\n";
return "-I$_";
}
- if (-r "$_/freetype/freetype.h") # location in FreeBSD (up to version 10.0) and Debian (up to wheezy)
+ if (-r "$_/freetype/freetype.h") # location in FreeBSD (older versions of freetype2 port) and Debian (up to wheezy)
{
print "Using -I$_ to find $_/freetype/freetype.h\n";
return "-I$_";
--
1.9.3