Changeset View
Changeset View
Standalone View
Standalone View
devel/binutils/Makefile
| Show All 15 Lines | |||||
| LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING3.LIB | LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING3.LIB | ||||
| BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:math/gmp \ | BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.so:math/gmp \ | ||||
| ${LOCALBASE}/lib/libmpfr.so:math/mpfr | ${LOCALBASE}/lib/libmpfr.so:math/mpfr | ||||
| LIB_DEPENDS= libzstd.so:archivers/zstd | LIB_DEPENDS= libzstd.so:archivers/zstd | ||||
| FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ | FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ | ||||
| avr i386 mingw32 mips mips64 powerpc powerpc64 powerpc64le riscv64 \ | avr i386 mingw32 powerpc powerpc64 powerpc64le riscv64 \ | ||||
| riscv64_none_elf s390x riscv32_unknown_elf | riscv64_none_elf s390x riscv32_unknown_elf | ||||
| FLAVOR?= native | FLAVOR?= native | ||||
| USES= bison:alias compiler:env cpe gmake localbase libtool perl5 pkgconfig tar:lz | USES= bison:alias compiler:env cpe gmake localbase libtool perl5 pkgconfig tar:lz | ||||
| CPE_VENDOR= gnu | CPE_VENDOR= gnu | ||||
| USE_PERL5= build | USE_PERL5= build | ||||
| GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
| ▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
| .if ${PKGNAMEPREFIX:M*-*-} | .if ${PKGNAMEPREFIX:M*-*-} | ||||
| BUTARGET?= ${PKGNAMEPREFIX}${OPSYS:tl}${OSREL} | BUTARGET?= ${PKGNAMEPREFIX}${OPSYS:tl}${OSREL} | ||||
| .else | .else | ||||
| BUTARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} | BUTARGET?= ${PKGNAMEPREFIX}unknown-${OPSYS:tl}${OSREL} | ||||
| .endif | .endif | ||||
| PLIST_SUB= BUTARGET=${BUTARGET} | PLIST_SUB= BUTARGET=${BUTARGET} | ||||
| INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/share/info | INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/share/info | ||||
| .if ${FLAVOR} == aarch64 | .if ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr || ${FLAVOR} == riscv32_unknown_elf | ||||
| BROKEN_mips= fails to configure: error: C compiler cannot create executables | |||||
| BROKEN_mips64= fails to configure: error: C compiler cannot create executables | |||||
| .elif ${FLAVOR} == aarch64_none_elf || ${FLAVOR} == arm_none_eabi || ${FLAVOR} == riscv64_none_elf || ${FLAVOR} == mingw32 || ${FLAVOR} == avr || ${FLAVOR} == riscv32_unknown_elf | |||||
| BUTARGET= ${FLAVOR:C/_/-/g} | BUTARGET= ${FLAVOR:C/_/-/g} | ||||
| .elif ${FLAVOR} == amd64 | .elif ${FLAVOR} == amd64 | ||||
| BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL} | BUTARGET= x86_64-unknown-${OPSYS:tl}${OSREL} | ||||
| .endif | .endif | ||||
| .if ${FLAVOR} == mingw32 | .if ${FLAVOR} == mingw32 | ||||
| USES+= iconv | USES+= iconv | ||||
| .endif | .endif | ||||
| Show All 33 Lines | INFO_INFO= as \ | ||||
| bfd \ | bfd \ | ||||
| ld \ | ld \ | ||||
| sframe-spec | sframe-spec | ||||
| .endif | .endif | ||||
| .include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
| # Actual earliest version may differ slightly | # Actual earliest version may differ slightly | ||||
| .if (${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX)) | .if (${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX)) | ||||
| CONFIGURE_ARGS+= --enable-gold --enable-plugins | CONFIGURE_ARGS+= --enable-gold --enable-plugins | ||||
| CXXFLAGS+= -Wno-c++11-narrowing | CXXFLAGS+= -Wno-c++11-narrowing | ||||
| PLIST_SUB+= GOLD="" | PLIST_SUB+= GOLD="" | ||||
| .else | .else | ||||
| PLIST_SUB+= GOLD="@comment " | PLIST_SUB+= GOLD="@comment " | ||||
| .endif | .endif | ||||
| .if (${FLAVOR} == native && ${OPSYS} == FreeBSD) || \ | .if (${FLAVOR} == native && ${OPSYS} == FreeBSD) || \ | ||||
| ▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines | |||||