diff options
author | abs <abs> | 2012-06-13 15:16:53 +0000 |
---|---|---|
committer | abs <abs> | 2012-06-13 15:16:53 +0000 |
commit | 6b6993f66a7c57e0777d701120be5676aa17e8ff (patch) | |
tree | e5d8773ebfd1a8f42c74948d23b4ecdf7bcc8be3 /www | |
parent | 18de20d8f1c7f4c180f31b1d231ab38ab6ce5b3a (diff) | |
download | pkgsrc-6b6993f66a7c57e0777d701120be5676aa17e8ff.tar.gz |
Fix build under NetBSD-current with lexecinfo (thanks obache@)
Diffstat (limited to 'www')
-rw-r--r-- | www/elinks/Makefile | 9 |
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" |