From c291add79a671d209a71e2e03596465eef157d03 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 9 Jul 2012 19:05:29 +0000 Subject: Fix backtrace(3) on NetBSD --- x11/wxGTK26/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11') 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" -- cgit v1.2.3