View | Details | Raw Unified | Return to bug 239872 | Differences between
and this patch

Collapse All | Expand All

(-)devel/radare2/Makefile (-1 / +1 lines)
Lines 1-43 Link Here
1
# Created by: Karsten Pedersen <kpedersen@opencde.org>
1
# Created by: Karsten Pedersen <kpedersen@opencde.org>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	radare2
4
PORTNAME=	radare2
5
DISTVERSION=	3.5.1
5
DISTVERSION=	3.7.1
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
7
8
MAINTAINER=	mizhka@gmail.com
8
MAINTAINER=	mizhka@gmail.com
9
COMMENT=	Tools to disasm, debug, analyze, and manipulate binary files
9
COMMENT=	Tools to disasm, debug, analyze, and manipulate binary files
10
10
11
LICENSE=	GPLv3
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
13
13
14
NOT_FOR_ARCHS=		armv6 armv7 mips mips64 powerpc powerpc64 sparc64
14
NOT_FOR_ARCHS=		armv6 armv7 mips mips64 powerpc powerpc64 sparc64
15
NOT_FOR_ARCHS_REASON=	does not build: Unsupported BSD architecture
15
NOT_FOR_ARCHS_REASON=	does not build: Unsupported BSD architecture
16
16
17
LIB_DEPENDS=	libcapstone.so:devel/capstone4
17
LIB_DEPENDS=	libcapstone.so:devel/capstone4
18
18
19
USES=		gmake localbase pathfix pkgconfig
19
USES=		gmake localbase pathfix pkgconfig
20
USE_GITHUB=		yes
20
USE_GITHUB=		yes
21
USE_LDCONFIG=		yes
21
USE_LDCONFIG=		yes
22
22
23
CONFIGURE_ARGS=	--with-syscapstone
23
CONFIGURE_ARGS=	--with-syscapstone
24
GH_ACCOUNT=		radare
24
GH_ACCOUNT=		radare
25
PATHFIX_MAKEFILEIN=	Makefile
25
PATHFIX_MAKEFILEIN=	Makefile
26
GNU_CONFIGURE=		yes
26
GNU_CONFIGURE=		yes
27
27
28
MAKE_ENV+=	HOST_CC=${CC}
28
MAKE_ENV+=	HOST_CC=${CC}
29
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
29
PLIST_SUB+=	PORTVERSION="${PORTVERSION}"
30
30
31
OPTIONS_DEFINE=	DOCS
31
OPTIONS_DEFINE=	DOCS
32
32
33
post-patch-DOCS-off:
33
post-patch-DOCS-off:
34
	@${REINPLACE_CMD} -e 's| install-doc ||g' \
34
	@${REINPLACE_CMD} -e 's| install-doc ||g' \
35
		${WRKSRC}/Makefile
35
		${WRKSRC}/Makefile
36
36
37
# libr/flag/d/Makefile generates an r2 script from all files in
37
# libr/flag/d/Makefile generates an r2 script from all files in
38
# current directory, including .bak file left by ${REINPLACE_CMD}
38
# current directory, including .bak file left by ${REINPLACE_CMD}
39
# called by pathfix.
39
# called by pathfix.
40
post-patch:
40
post-patch:
41
	${RM} ${WRKSRC}/libr/flag/d/Makefile.bak
41
	${RM} ${WRKSRC}/libr/flag/d/Makefile.bak
42
42
43
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)devel/radare2/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1558492983
1
TIMESTAMP = 1565812335
2
SHA256 (radare-radare2-3.5.1_GH0.tar.gz) = 818bac855b13f19f1a71059b683dcf3d9fc802494c5637e9a941b44488ced88e
2
SHA256 (radare-radare2-3.7.1_GH0.tar.gz) = 89c605c307e7d29458aa816dfa556077a63474474838b9a5f45d2691b32ba0d5
3
SIZE (radare-radare2-3.5.1_GH0.tar.gz) = 7083677
3
SIZE (radare-radare2-3.7.1_GH0.tar.gz) = 7481103
(-)devel/radare2/files/patch-libr_util_Makefile (+11 lines)
Line 0 Link Here
1
--- libr/util/Makefile.orig	2019-08-14 18:53:09 UTC
2
+++ libr/util/Makefile
3
@@ -51,7 +51,7 @@ endif
4
 endif
5
 
6
 # FreeBSD 10.0 ships with backtrace(3) in -lexecinfo
7
-ifeq (${BUILD_OS},freebsd)
8
+ifeq (${HOST_OS},freebsd)
9
 ifneq ($(shell expr "`uname -r`" : '[0-9]\.'), 2)
10
   LDFLAGS+=-lexecinfo
11
 endif

Return to bug 239872