aboutsummaryrefslogtreecommitdiff
path: root/devel/glib20
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2011-03-14 21:29:56 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2011-03-14 21:29:56 +0000
commitefef6d3b2fbe3ea474abd9e62701d49825ce9558 (patch)
tree16cf5c3e70d0916fde1af21e6828052c9ba20676 /devel/glib20
parentb671222b92625df0011525c92ceca05ac457fb7c (diff)
downloadports-efef6d3b2fbe3ea474abd9e62701d49825ce9558.tar.gz
ports-efef6d3b2fbe3ea474abd9e62701d49825ce9558.zip
Notes
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