From 15ab9c6381dbbb97fcf00d38287da008b9867a49 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Wed, 8 Sep 2010 21:44:36 +0000 Subject: [PATCH] Make it possible to tweak CPPFLAGS and LDFLAGS in children ports. ok jasper@ --- multimedia/gstreamer-0.10/Makefile.inc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/multimedia/gstreamer-0.10/Makefile.inc b/multimedia/gstreamer-0.10/Makefile.inc index e83491f7e18..72fffd8e4fa 100644 --- a/multimedia/gstreamer-0.10/Makefile.inc +++ b/multimedia/gstreamer-0.10/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.9 2010/06/02 13:08:32 ajacoutot Exp $ +# $OpenBSD: Makefile.inc,v 1.10 2010/09/08 21:44:36 ajacoutot Exp $ CATEGORIES ?= multimedia devel @@ -40,8 +40,11 @@ CONFIGURE_ARGS += ${CONFIGURE_SHARED} \ --disable-valgrind \ --disable-static -CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include \ - -I${LOCALBASE}/include/libpng \ - -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib \ - -L${X11BASE}/lib" +CPPFLAGS += -I${LOCALBASE}/include \ + -I${LOCALBASE}/include/libpng \ + -I${X11BASE}/include +LDFLAGS += -L${LOCALBASE}/lib \ + -L${X11BASE}/lib + +CONFIGURE_ENV += CPPFLAGS="${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}"