summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-09 19:18:23 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-09 19:18:23 +0000
commit591af7b2f8d55a67144b051641279b6a5dbec970 (patch)
treeb1377edb88572b136ef7f4026401fae49c730aaf /chat
parent64aba01d0feb8747f8a4aa89484439bd85deabb4 (diff)
downloadpkgsrc-591af7b2f8d55a67144b051641279b6a5dbec970.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"