From d7f6c91e55f0a36da4daeedb0491ca2be8c23f64 Mon Sep 17 00:00:00 2001 From: mezz Date: Mon, 14 Mar 2011 21:29:56 +0000 Subject: Add --enable-debug=yes in WITH_DEBUG to add more debug stuff. PR: ports/154362 Submitted by: Stephen Fisher --- devel/glib20/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'devel/glib20') diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 1429ecbc4263..0df7a1d50a04 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -78,6 +78,10 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-glib_Makefile.in \ #CONFIGURE_ENV+= CFLAGS="-D__STDC_ISO_10646__" .endif +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug=yes +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/glib/gutils.c -- cgit