summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2012-06-22 16:06:32 +0000
committerprlw1 <prlw1@pkgsrc.org>2012-06-22 16:06:32 +0000
commita449325efea9814fd7463733936547a1fca2318b (patch)
tree5d3266c9b82f71e2a4f916c7ee87ecc08aa3ad5c /www
parent9f19bb0ad0048fa4373cac78b136cffa905d5d33 (diff)
downloadpkgsrc-a449325efea9814fd7463733936547a1fca2318b.tar.gz
Link against libexecinfo for backtrace as per suggestion from wiz in
http://mail-index.netbsd.org/pkgsrc-users/2012/06/21/msg016616.html
Diffstat (limited to 'www')
-rw-r--r--www/epiphany/Makefile9
1 files changed, 8 insertions, 1 deletions
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"