You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-imonlcd/files/vdr-imonlcd-1.0.2-freetype_...

30 lines
816 B

From 2168f20fb6b00f7ae2104c6f4eafae2402cb1d92 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Tue, 24 Jul 2018 13:00:40 +0200
Subject: [PATCH] Makefile: Use pkg-config to query freetype
As of freetype-2.9.1 the freetype-config file no longer gets installed
by default.
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index fc165e9..36fc681 100644
--- a/Makefile
+++ b/Makefile
@@ -55,8 +55,8 @@ SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines (add further entries here):
-INCLUDES += $(shell freetype-config --cflags)
-LIBS += $(shell freetype-config --libs)
+INCLUDES += $(shell pkg-config --cflags freetype2)
+LIBS += $(shell pkg-config --libs freetype2)
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
--
2.18.0