View | Details | Raw Unified | Return to bug 273194
Collapse All | Expand All

(-)Makefile (-1 / +10 lines)
Lines 1-6 Link Here
1
PORTNAME=	gcc
1
PORTNAME=	gcc
2
PORTVERSION?=	11.3.0
2
PORTVERSION?=	11.3.0
3
PORTREVISION=	1
3
PORTREVISION=	2
4
CATEGORIES=	devel
4
CATEGORIES=	devel
5
MASTER_SITES=	GCC
5
MASTER_SITES=	GCC
6
PKGNAMEPREFIX?=	aarch64-none-elf-
6
PKGNAMEPREFIX?=	aarch64-none-elf-
Lines 53-58 INSTALL_TARGET= install-gcc install-target-libgcc Link Here
53
53
54
.include <bsd.port.pre.mk>
54
.include <bsd.port.pre.mk>
55
55
56
# Extraction fails with poudriere on aarch64 for GCC 11.
57
# It seems that the bug is specific to lang/gcc11 and lang/gcc12 only.
58
# No other GCC port is affected.
59
# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271052
60
# and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246670
61
.if ${ARCH} == aarch64
62
EXTRACT_CMD=    ${SETENV} LC_ALL=en_US.UTF-8 /usr/bin/bsdtar
63
.endif
64
56
post-patch:
65
post-patch:
57
	@${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \
66
	@${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \
58
		${WRKSRC}//gcc/cp/g++spec.c
67
		${WRKSRC}//gcc/cp/g++spec.c

Return to bug 273194