diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib20/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index a074cffca..2c8c5bf48 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -3,7 +3,7 @@ # Whom: Vanilla I. Shu <vanilla@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/devel/glib20/Makefile,v 1.200 2011/03/07 20:38:48 kwm Exp $ +# $MCom: ports/devel/glib20/Makefile,v 1.201 2011/03/14 17:26:50 kwm Exp $ # # !! DON'T FORGET ABOUT devel/gio-fam-backend !! @@ -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 |