From 010ed4a3f09f779a1447d3afb8ad9897781cb027 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Fri, 10 Aug 2001 23:16:27 +0000 Subject: [PATCH] fix for -stable: cheat on freetype-config for now due to it not being included in 2.9, although freetype2 is essentially there. --- devel/sdl-ttf/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/devel/sdl-ttf/Makefile b/devel/sdl-ttf/Makefile index 92b8da25d6f..2f3084398ac 100644 --- a/devel/sdl-ttf/Makefile +++ b/devel/sdl-ttf/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2001/08/05 19:41:43 pvalchev Exp $ +# $OpenBSD: Makefile,v 1.4 2001/08/10 23:16:27 pvalchev Exp $ COMMENT= "SDL TrueType fonts library" @@ -25,7 +25,11 @@ USE_X11= Yes SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu -CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib" +CONFIGURE_ENV+= LDFLAGS="-L${X11BASE}/lib" CONFIGURE_ARGS+= ${CONFIGURE_SHARED} +# Cheat on freetype-config for now due to it not being included in 2.9 +CONFIGURE_ENV+= FREETYPE_CONFIG=/usr/bin/false \ + CPPFLAGS="-I${X11BASE}/include/freetype2" \ + LIBS="-lfreetype" .include