aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/thunar/Makefile
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2019-05-10 17:45:54 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2019-05-10 17:45:54 +0000
commit71866c3c50209c9ac4ca460badd17ba10ae151e4 (patch)
tree8f0685bd2c8a5bf5f1e50bc844c75b19e27cd7d7 /x11-fm/thunar/Makefile
parent5e10f01da8726956a1ea6cf93d915be423158380 (diff)
downloadports-71866c3c50209c9ac4ca460badd17ba10ae151e4.tar.gz
ports-71866c3c50209c9ac4ca460badd17ba10ae151e4.zip
Enable extra debugging code when building binaries with debugging symbols.
PR: 236438 Submitted by: rozhuk.im@gmail.com
Notes
Notes: svn path=/head/; revision=501189
Diffstat (limited to 'x11-fm/thunar/Makefile')
-rw-r--r--x11-fm/thunar/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-fm/thunar/Makefile b/x11-fm/thunar/Makefile
index f41ef328b330..7865c7a856ef 100644
--- a/x11-fm/thunar/Makefile
+++ b/x11-fm/thunar/Makefile
@@ -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>