diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-08-27 20:26:24 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-08-27 20:26:24 +0800 |
commit | c6a2dac185ea3e6ea77fa7d5ecc755281045c305 (patch) | |
tree | 611946356a76217fe9e84163a848f5c01760363a /devel | |
parent | ac720b9e82fa3aa29ba19cc2d90fa8720b18073b (diff) | |
download | freebsd-ports-gnome-c6a2dac185ea3e6ea77fa7d5ecc755281045c305.tar.gz freebsd-ports-gnome-c6a2dac185ea3e6ea77fa7d5ecc755281045c305.tar.zst freebsd-ports-gnome-c6a2dac185ea3e6ea77fa7d5ecc755281045c305.zip |
- 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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libexecinfo/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/libexecinfo/Makefile b/devel/libexecinfo/Makefile index 29a21a62588d..ffe50a3fb77d 100644 --- a/devel/libexecinfo/Makefile +++ b/devel/libexecinfo/Makefile @@ -7,7 +7,7 @@ PORTNAME= libexecinfo PORTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= itetcu @@ -22,10 +22,16 @@ MAKE_FLAGS= LIBDIR=${PREFIX}/lib \ 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.mk> +.include <bsd.port.post.mk> |