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 |
TEST_TARGET= check |
37 |
|
41 |
|
38 |
CONFLICTS= libbfd |
42 |
CONFLICTS= libbfd |
39 |
|
43 |
|
40 |
OPTIONS_DEFINE= NLS RELRO STATIC |
44 |
OPTIONS_DEFINE= NLS RELRO |
41 |
OPTIONS_SUB= yes |
45 |
OPTIONS_SUB= yes |
42 |
STATIC_PREVENTS= NLS |
|
|
43 |
|
46 |
|
44 |
RELRO_DESC= Enable relocation memory corruption mitigation (-z relro) by default |
47 |
RELRO_DESC= Enable relocation memory corruption mitigation (-z relro) by default |
45 |
RELRO_CONFIGURE_ON= --enable-relro |
48 |
RELRO_CONFIGURE_ON= --enable-relro |
46 |
RELRO_CONFIGURE_OFF= --enable-relro=no |
49 |
RELRO_CONFIGURE_OFF= --enable-relro=no |
47 |
STATIC_LDFLAGS+= -all-static |
|
|
48 |
NLS_USES= gettext |
50 |
NLS_USES= gettext |
49 |
NLS_CONFIGURE_ENABLE= nls |
51 |
NLS_CONFIGURE_ENABLE= nls |
50 |
|
52 |
|
Lines 102-108
INFO= as \
Link Here
|
102 |
ctf-spec \ |
104 |
ctf-spec \ |
103 |
gprof \ |
105 |
gprof \ |
104 |
bfd \ |
106 |
bfd \ |
105 |
ld |
107 |
ld \ |
|
|
108 |
sframe-spec |
106 |
.endif |
109 |
.endif |
107 |
|
110 |
|
108 |
.include <bsd.port.pre.mk> |
111 |
.include <bsd.port.pre.mk> |