freebsd-ports/devel/libexecinfo/Makefile
Ion-Mihai Tetcu 58b4409228 - The gcc builtin function __builtin_frame_address seems to need
-fno-omit-frame-pointer to allow it to find the top of the stack. Without this
 libexecinfo can't correctly get a backtrace and instead causes a bus error.
- bump PORTREVISION

PR:		ports/126727
Submitted by:	Douglas William Thrift
2008-08-27 12:26:24 +00:00

37 lines
721 B
Makefile

# New ports collection makefile for: libexecinfo
# Date created: 10 August 2003
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libexecinfo
PORTVERSION= 1.1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= itetcu
MAINTAINER= itetcu@FreeBSD.org
COMMENT= A library for inspecting program's backtrace
USE_BZIP2= yes
USE_LDCONFIG= yes
MAKE_FLAGS= LIBDIR=${PREFIX}/lib \
INCLUDEDIR=${PREFIX}/include
PORTDOCS= README
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fno-omit-frame-pointer
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>