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

Collapse All | Expand All

(-)b/devel/binutils/Makefile (-1 / +13 lines)
Lines 51-56 LDFLAGS+= -Wl,--undefined-version Link Here
51
CONFLICTS=	libbfd
51
CONFLICTS=	libbfd
52
52
53
OPTIONS_DEFINE=	NLS RELRO
53
OPTIONS_DEFINE=	NLS RELRO
54
OPTIONS_DEFAULT=	ELFU_AUTO
55
OPTIONS_RADIO=	ELFUTILS_ENABLE
56
OPTIONS_RADIO_ELFUTILS_ENABLE=	ELFU_AUTO ELFU_YES ELFU_NO
54
OPTIONS_SUB=	yes
57
OPTIONS_SUB=	yes
55
58
56
RELRO_DESC=	Enable relocation memory corruption mitigation (-z relro) by default
59
RELRO_DESC=	Enable relocation memory corruption mitigation (-z relro) by default
Lines 58-63 RELRO_CONFIGURE_ON= --enable-relro Link Here
58
RELRO_CONFIGURE_OFF=	--enable-relro=no
61
RELRO_CONFIGURE_OFF=	--enable-relro=no
59
NLS_USES=	gettext
62
NLS_USES=	gettext
60
NLS_CONFIGURE_ENABLE=	nls
63
NLS_CONFIGURE_ENABLE=	nls
64
ELFU_AUTO_DESC=	Auto-detect pre-installed devel/elfutils
65
ELFU_YES_DESC=	Depend on and install devel/elfutils
66
ELFU_YESLIB_DEPENDS=	libdebuginfod.so:devel/elfutils
67
ELFU_NO_DESC=	Ingore pre-installed devel/elfutils
68
ELFU_NO_CONFIGURE_ON=	--without-libelf --without-debuginfod
61
69
62
aarch64_COMMENT=	GNU binutils for ${FLAVOR} development
70
aarch64_COMMENT=	GNU binutils for ${FLAVOR} development
63
71
Lines 127-132 INFO= as \ Link Here
127
135
128
.include <bsd.port.pre.mk>
136
.include <bsd.port.pre.mk>
129
137
138
# In case devel/elfutils has been previously installed.
139
.if ${PORT_OPTIONS:MELFU_AUTO} && exists(${LOCALBASE}/lib/libdebuginfod.so)
140
LIB_DEPENDS+=	libdebuginfod.so:devel/elfutils
141
.endif
142
130
# Actual earliest version may differ slightly
143
# Actual earliest version may differ slightly
131
.if (${ARCH} != sparc64 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX))
144
.if (${ARCH} != sparc64 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpcspe && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != riscv64 && !defined(PKGNAMEPREFIX)) || ((${ARCH} == powerpc || ${ARCH} == powerpc64) && ${CHOSEN_COMPILER_TYPE} != gcc && !defined(PKGNAMEPREFIX))
132
CONFIGURE_ARGS+=	--enable-gold --enable-plugins
145
CONFIGURE_ARGS+=	--enable-gold --enable-plugins
133
- 

Return to bug 273798