Khem Raj c9a07b63e3 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>
2017-05-23 15:49:38 +02: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