Index: Makefile =================================================================== --- Makefile (revision 501174) +++ Makefile (working copy) @@ -74,4 +74,10 @@ @${REINPLACE_CMD} -e 's|internet-mail|emblem-mail|' \ ${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in -.include +.include + +.if defined(WITH_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.endif + +.include