summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorabs <abs>2012-06-13 15:16:53 +0000
committerabs <abs>2012-06-13 15:16:53 +0000
commit6b6993f66a7c57e0777d701120be5676aa17e8ff (patch)
treee5d8773ebfd1a8f42c74948d23b4ecdf7bcc8be3 /www
parent18de20d8f1c7f4c180f31b1d231ab38ab6ce5b3a (diff)
downloadpkgsrc-6b6993f66a7c57e0777d701120be5676aa17e8ff.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"