Enable extra debugging code when building binaries with debugging symbols.

PR:		236438
Submitted by:	rozhuk.im@gmail.com
This commit is contained in:
Guido Falsi 2019-05-10 17:45:54 +00:00
parent 5e10f01da8
commit 71866c3c50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501189

View File

@ -74,4 +74,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|internet-mail|emblem-mail|' \
${WRKSRC}/plugins/thunar-sendto-email/thunar-sendto-email.desktop.in.in
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.endif
.include <bsd.port.post.mk>