diff options
author | joerg <joerg@pkgsrc.org> | 2012-07-09 19:18:23 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2012-07-09 19:18:23 +0000 |
commit | 591af7b2f8d55a67144b051641279b6a5dbec970 (patch) | |
tree | b1377edb88572b136ef7f4026401fae49c730aaf /chat | |
parent | 64aba01d0feb8747f8a4aa89484439bd85deabb4 (diff) | |
download | pkgsrc-591af7b2f8d55a67144b051641279b6a5dbec970.tar.gz |
Fix backtrace(3) usage on NetBSD.
Diffstat (limited to 'chat')
-rw-r--r-- | chat/ekg/Makefile | 7 |
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" |