summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-09 19:05:29 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-09 19:05:29 +0000
commitc291add79a671d209a71e2e03596465eef157d03 (patch)
tree2195906e35e9d033235a075e1ef871e7cb1b4f37 /x11
parent58a6e5667a4fe81f38963b25c15e61637ebe982b (diff)
downloadpkgsrc-c291add79a671d209a71e2e03596465eef157d03.tar.gz
Fix backtrace(3) on NetBSD
Diffstat (limited to 'x11')
-rw-r--r--x11/wxGTK26/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/wxGTK26/Makefile b/x11/wxGTK26/Makefile
index f37aaab9bed..4d250b212d7 100644
--- a/x11/wxGTK26/Makefile
+++ b/x11/wxGTK26/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2012/03/03 00:12:31 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2012/07/09 19:05:29 joerg Exp $
#
.include "Makefile.common"
@@ -23,5 +23,10 @@ post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/LICENCE.txt ${DESTDIR}${DOCDIR}/LICENSE
+# for backtrace
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
+.endif
+
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"