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/app-misc/graphlcd-base/files/graphlcd-base-0.1.9-freetyp...

31 lines
906 B

--- graphlcd-base-0.1.9/glcdgraphics/Makefile
+++ graphlcd-base-0.1.9/glcdgraphics/Makefile
@@ -33,9 +33,9 @@
-include $(DEPFILE)
ifdef HAVE_FREETYPE2
- ifneq ($(shell which freetype-config),)
- INCLUDES += $(shell freetype-config --cflags)
- LIBS += $(shell freetype-config --libs)
+ ifneq ($(shell which pkg-config),)
+ INCLUDES += $(shell pkg-config --cflags freetype2)
+ LIBS += $(shell pkg-config --libs freetype2)
else
INCLUDES += -I/usr/include/freetype -I/usr/local/include/freetype
LIBS += -lfreetype
--- graphlcd-base-0.1.9/tools/genfont/Makefile
+++ graphlcd-base-0.1.9/tools/genfont/Makefile
@@ -9,10 +9,10 @@
OBJS = genfont.o
INCLUDES += -I../../
-INCLUDES += `freetype-config --cflags`
+INCLUDES += `pkg-config --cflags freetype2`
LIBDIRS += -L../../glcdgraphics/
-LIBS += `freetype-config --libs`
+LIBS += `pkg-config --libs freetype2`
all: $(PRGNAME)
.PHONY: all