blob: 7711817f17edc6a285a98e34ea995b8c5fd78a40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Created by: Conrad Meyer <cem@FreeBSD.org>
# $FreeBSD$
PORTNAME= dwarves
PORTVERSION= 1.10.20160713
PORTREVISION= 1
CATEGORIES= devel
#MASTER_SITES= https://fedorapeople.org/~acme/dwarves/
MASTER_SITES= http://repo.or.cz/dwarves.git/snapshot/
DISTFILES= b52386d041fac2dc6decf3a9e8e85385784a2de9.tar.gz
# git: http://repo.or.cz/dwarves.git
# ML: http://news.gmane.org/gmane.comp.debugging.dwarves
MAINTAINER= cem@FreeBSD.org
COMMENT= Debugging Information Manipulation Tools
LICENSE= GPLv2
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
BROKEN= does not build (/usr/local/include/libelf.h:308:8: error: unknown type name 'Elf32_Chdr')
LIB_DEPENDS= libargp.so:devel/argp-standalone \
libdw.so:devel/elfutils
PATCH_DEPENDS= gnulib>=0:devel/gnulib
WRKSRC= ${WRKDIR}/dwarves-b52386d
USES= cmake:outsource localbase shebangfix tar:bzip2
USE_LDCONFIG= yes
SHEBANG_FILES= ostra/ostra-cg
post-patch:
@${CP} -a \
${LOCALBASE}/share/gnulib/lib/gettext.h \
${LOCALBASE}/share/gnulib/lib/obstack.c \
${LOCALBASE}/share/gnulib/lib/obstack.h \
${WRKSRC}/
@${REINPLACE_CMD} -e 's|_GL_ATTRIBUTE_PURE|__attribute__((__pure__))|g' \
${WRKSRC}/obstack.h ${WRKSRC}/obstack.c
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1200000
IGNORE= requires FreeBSD 12.0 (ElfNN_Chdr)
.endif
.include <bsd.port.post.mk>
|