Fix build under NetBSD-current with lexecinfo (thanks obache@)

This commit is contained in:
abs 2012-06-13 15:16:53 +00:00
parent e7375ca560
commit b564562025

View file

@ -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"