Files
Khem Raj 5506e2ce26 libsdl2-ttf: Check for x11 and opengl in distro features
when X11 is not in distro features it tries to link with
libGL which does not exist and compile fails

Add a patch to add foreign option to AUTOMAKE_OPTIONS
which lets it configure and relax automake rules to not
check for some GNU specific files

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00

14 lines
410 B
Diff

Index: SDL2_ttf-2.0.14/Makefile.am
===================================================================
--- SDL2_ttf-2.0.14.orig/Makefile.am
+++ SDL2_ttf-2.0.14/Makefile.am
@@ -1,6 +1,8 @@
# Makefile.am for the SDL truetype font loading library and viewer
lib_LTLIBRARIES = libSDL2_ttf.la
+AUTOMAKE_OPTIONS = foreign
+
libSDL2_ttfincludedir = $(includedir)/SDL2
libSDL2_ttfinclude_HEADERS = \
SDL_ttf.h