aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glib20
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2011-03-15 05:29:56 +0800
committermezz <mezz@FreeBSD.org>2011-03-15 05:29:56 +0800
commitd7f6c91e55f0a36da4daeedb0491ca2be8c23f64 (patch)
treebcf01bda7a6cfb82fb1782ae99fcb43ff51a80f0 /devel/glib20
parent9383ad5b8e109b770812e0893df189a5861ded15 (diff)
downloadfreebsd-ports-gnome-d7f6c91e55f0a36da4daeedb0491ca2be8c23f64.tar.gz
freebsd-ports-gnome-d7f6c91e55f0a36da4daeedb0491ca2be8c23f64.tar.zst
freebsd-ports-gnome-d7f6c91e55f0a36da4daeedb0491ca2be8c23f64.zip
Add --enable-debug=yes in WITH_DEBUG to add more debug stuff.
PR: ports/154362 Submitted by: Stephen Fisher <steve@stephen-fisher.com>
Diffstat (limited to 'devel/glib20')
-rw-r--r--devel/glib20/Makefile4
1 files changed, 4 insertions, 0 deletions
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