From a449325efea9814fd7463733936547a1fca2318b Mon Sep 17 00:00:00 2001 From: prlw1 <prlw1@pkgsrc.org> Date: Fri, 22 Jun 2012 16:06:32 +0000 Subject: Link against libexecinfo for backtrace as per suggestion from wiz in http://mail-index.netbsd.org/pkgsrc-users/2012/06/21/msg016616.html --- www/epiphany/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index e9d6efe59d2..b5ea4bbad49 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.126 2012/06/14 07:43:16 sbd Exp $ +# $NetBSD: Makefile,v 1.127 2012/06/22 16:06:32 prlw1 Exp $ # DISTNAME= epiphany-2.30.6 @@ -22,6 +22,13 @@ USE_LANGUAGES= c c++ # see pkgsrc/security/mozilla-rootcerts CONFIGURE_ARGS+= --with-ca-file=/etc/ssl/certs/ca-certificates.crt +.include "../../mk/bsd.prefs.mk" + +# for backtrace +.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h) +LIBS+= -lexecinfo +.endif + PKGCONFIG_OVERRIDE= data/epiphany.pc.in .include "options.mk" -- cgit v1.2.3