summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2012-06-13 15:16:53 +0000
committerabs <abs@pkgsrc.org>2012-06-13 15:16:53 +0000
commit5fc0915a5881953e83b7e65c1204801c8ccd0c8f (patch)
treee5d8773ebfd1a8f42c74948d23b4ecdf7bcc8be3 /www
parent417e0aeae08967f2f9d9a5b4c4b1b1b1976ebe01 (diff)
downloadpkgsrc-5fc0915a5881953e83b7e65c1204801c8ccd0c8f.tar.gz
Fix build under NetBSD-current with lexecinfo (thanks obache@)
Diffstat (limited to 'www')
-rw-r--r--www/elinks/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/elinks/Makefile b/www/elinks/Makefile
index 90cd80c3b23..7d816247f3d 100644
--- a/www/elinks/Makefile
+++ b/www/elinks/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2012/01/09 14:53:31 drochner Exp $
+# $NetBSD: Makefile,v 1.48 2012/06/13 15:16:53 abs Exp $
DISTNAME= elinks-0.12pre5
PKGNAME= ${DISTNAME:S/pre/rc/}
@@ -22,6 +22,13 @@ CONFIGURE_ARGS+= --enable-256-colors
CONFIGURE_ARGS+= --enable-utf-8
CONFIGURE_ARGS+= --without-lzma
+.include "../../mk/bsd.prefs.mk"
+
+# for backtrace
+.if ${OPSYS} == "NetBSD" && exists(/usr/include/execinfo.h)
+LIBS+= -lexecinfo
+.endif
+
.include "options.mk"
.include "../../archivers/bzip2/buildlink3.mk"