$NetBSD: patch-configure,v 1.1 2018/05/10 21:48:15 wiz Exp $

Hack around freetype2>=2.9.1 not having freetype-config any longer.

--- configure.orig	2016-02-01 21:41:46.000000000 +0000
+++ configure
@@ -11773,8 +11773,8 @@ if test "$FREETYPE_CONFIG" = "no" ; then
 *** Unable to find FreeType2 library (http://www.freetype.org/)
 " "$LINENO" 5
 else
-    CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags`"
-    LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs`"
+    CFLAGS="$CFLAGS `$FREETYPE_CONFIG $freetypeconf_args --cflags` `pkg-config freetype2 --cflags`"
+    LIBS="$LIBS `$FREETYPE_CONFIG $freetypeconf_args --libs` `pkg-config freetype2 --libs`"
 fi
 
 SDL_VERSION=2.0.0
