Lines 1-5
Link Here
|
1 |
PORTNAME= binutils |
1 |
PORTNAME= binutils |
2 |
PORTVERSION= 2.39 |
2 |
DISTVERSION= 2.40 |
3 |
PORTEPOCH?= 1 |
3 |
PORTEPOCH?= 1 |
4 |
CATEGORIES?= devel |
4 |
CATEGORIES?= devel |
5 |
MASTER_SITES= SOURCEWARE/binutils/releases |
5 |
MASTER_SITES= SOURCEWARE/binutils/releases |
Lines 16-27
LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING3.LIB
Link Here
|
16 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:math/gmp \ |
16 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:math/gmp \ |
17 |
${LOCALBASE}/lib/libmpfr.so:math/mpfr |
17 |
${LOCALBASE}/lib/libmpfr.so:math/mpfr |
18 |
|
18 |
|
|
|
19 |
LIB_DEPENDS= libzstd.so:archivers/zstd |
20 |
|
19 |
FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ |
21 |
FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ |
20 |
avr i386 mingw32 mips mips64 powerpc powerpc64 powerpc64le riscv64 \ |
22 |
avr i386 mingw32 mips mips64 powerpc powerpc64 powerpc64le riscv64 \ |
21 |
riscv64_none_elf s390x sparc64 riscv32_unknown_elf |
23 |
riscv64_none_elf s390x sparc64 riscv32_unknown_elf |
22 |
FLAVOR?= native |
24 |
FLAVOR?= native |
23 |
|
25 |
|
24 |
USES= bison:alias compiler:env cpe gmake libtool makeinfo perl5 tar:lz |
26 |
USES= bison:alias compiler:env cpe gmake localbase libtool makeinfo perl5 pkgconfig tar:lz |
25 |
USE_PERL5= build |
27 |
USE_PERL5= build |
26 |
CPE_VENDOR= gnu |
28 |
CPE_VENDOR= gnu |
27 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
Lines 30-50
GNU_CONFIGURE= yes
Link Here
|
30 |
CONFIGURE_ARGS+= --disable-werror \ |
32 |
CONFIGURE_ARGS+= --disable-werror \ |
31 |
--enable-deterministic-archives \ |
33 |
--enable-deterministic-archives \ |
32 |
--with-sysroot=/ \ |
34 |
--with-sysroot=/ \ |
33 |
--enable-x86-relax-relocations=no |
35 |
--enable-x86-relax-relocations=no \ |
34 |
MAKE_ARGS+= LIBDL="" |
36 |
--with-zstd \ |
|
|
37 |
--enable-default-compressed-debug-sections-algorithm=zstd |
38 |
MAKE_ARGS+= LIBDL="" V=1 |
35 |
MAKE_ENV+= ac_cv_func_sbrk=0 |
39 |
MAKE_ENV+= ac_cv_func_sbrk=0 |
36 |
TEST_TARGET= check |
40 |
|
|
|
41 |
# Tests will always fail because --compress-debug-sections is always set to |
42 |
# zlib-gabi regardless of the compression setting by ./configure. |
43 |
# TEST_TARGET= check |
37 |
|
44 |
|
38 |
CONFLICTS= libbfd |
45 |
CONFLICTS= libbfd |
39 |
|
46 |
|
40 |
OPTIONS_DEFINE= NLS RELRO STATIC |
47 |
OPTIONS_DEFINE= NLS RELRO |
41 |
OPTIONS_SUB= yes |
48 |
OPTIONS_SUB= yes |
42 |
STATIC_PREVENTS= NLS |
|
|
43 |
|
49 |
|
44 |
RELRO_DESC= Enable relocation memory corruption mitigation (-z relro) by default |
50 |
RELRO_DESC= Enable relocation memory corruption mitigation (-z relro) by default |
45 |
RELRO_CONFIGURE_ON= --enable-relro |
51 |
RELRO_CONFIGURE_ON= --enable-relro |
46 |
RELRO_CONFIGURE_OFF= --enable-relro=no |
52 |
RELRO_CONFIGURE_OFF= --enable-relro=no |
47 |
STATIC_LDFLAGS+= -all-static |
|
|
48 |
NLS_USES= gettext |
53 |
NLS_USES= gettext |
49 |
NLS_CONFIGURE_ENABLE= nls |
54 |
NLS_CONFIGURE_ENABLE= nls |
50 |
|
55 |
|
Lines 102-108
INFO= as \
Link Here
|
102 |
ctf-spec \ |
107 |
ctf-spec \ |
103 |
gprof \ |
108 |
gprof \ |
104 |
bfd \ |
109 |
bfd \ |
105 |
ld |
110 |
ld \ |
|
|
111 |
sframe-spec |
106 |
.endif |
112 |
.endif |
107 |
|
113 |
|
108 |
.include <bsd.port.pre.mk> |
114 |
.include <bsd.port.pre.mk> |