summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg>2012-07-09 19:18:23 +0000
committerjoerg <joerg>2012-07-09 19:18:23 +0000
commite068f513a1b8388326695c0ad811fe35d3c1ae36 (patch)
treeb1377edb88572b136ef7f4026401fae49c730aaf /chat
parent8ed044c0df38e326a847dd407f2aad8c799b5028 (diff)
downloadpkgsrc-e068f513a1b8388326695c0ad811fe35d3c1ae36.tar.gz
Fix backtrace(3) usage on NetBSD.
Diffstat (limited to 'chat')
-rw-r--r--chat/ekg/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/chat/ekg/Makefile b/chat/ekg/Makefile
index 475b4e92678..7ddeae5f8d8 100644
--- a/chat/ekg/Makefile
+++ b/chat/ekg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2010/12/23 11:44:25 dsainty Exp $
+# $NetBSD: Makefile,v 1.47 2012/07/09 19:18:23 joerg Exp $
DISTNAME= ekg-1.7
PKGREVISION= 5
@@ -30,6 +30,11 @@ CONFIGURE_ARGS+= --without-debug
CONFIGURE_ARGS+= --with-pthread
.endif
+# for backtrace
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
+.endif
+
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"