From 070f3215ed66184d03a0f32cc735c00af2aa4ed6 Mon Sep 17 00:00:00 2001 From: brad Date: Tue, 25 Sep 2012 22:05:22 +0000 Subject: [PATCH] Don't use the output of sdl-config and instea just pass both LOCALBASE and X11BASE paths in CPPFLAGS/LDFLAGS. ok naddy@ MAINTAINER --- devel/guichan/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/devel/guichan/Makefile b/devel/guichan/Makefile index 0792f200a6c..85a2062efc4 100644 --- a/devel/guichan/Makefile +++ b/devel/guichan/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2010/11/15 19:45:58 espie Exp $ +# $OpenBSD: Makefile,v 1.7 2012/09/25 22:05:22 brad Exp $ COMMENT= C++ GUI library designed for games @@ -32,8 +32,8 @@ LIB_DEPENDS= devel/sdl USE_LIBTOOL= Yes CONFIGURE_STYLE=gnu -CONFIGURE_ENV= CPPFLAGS="`sdl-config --cflags`" \ - LDFLAGS="`sdl-config --libs`" +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --enable-allegro=no