pkgsrc/devel/libexecinfo/Makefile
2013-04-06 14:09:32 +00:00

24 lines
661 B
Makefile

# $NetBSD: Makefile,v 1.2 2013/04/06 14:09:32 rodent Exp $
DISTNAME= libexecinfo-1.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_FREEBSD}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ober@NetBSD.org
HOMEPAGE= http://www.freebsdsoftware.org/devel/libexecinfo.html
COMMENT= BSD Licensed clone of backtrace facility found in GNU libc
LICENSE= 2-clause-bsd
USE_BSD_MAKEFILE= yes
MAKE_FLAGS+= MKLINT=no
CFLAGS.Linux+= -D_GNU_SOURCE # Dl_info internals
CFLAGS.Linux+= -Wno-unused-result # write(2) is declared specially
INSTALLATION_DIRS= include lib
post-install:
${INSTALL_DATA} ${WRKSRC}/execinfo.h ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"