summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2012-07-09 19:05:29 +0000
committerjoerg <joerg>2012-07-09 19:05:29 +0000
commit56ffb426eeb78189c196c98bbd95d313f4a3f7b1 (patch)
tree2195906e35e9d033235a075e1ef871e7cb1b4f37 /x11
parent6507c1b826aeef3b66e368c16e15ea2816e1fd1b (diff)
downloadpkgsrc-56ffb426eeb78189c196c98bbd95d313f4a3f7b1.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"