aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-17 18:33:30 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-17 18:34:20 +0000
commit42758da17ebd03d53b0b28ccdf43932fcfde1cce (patch)
tree477c31ca3413d9b0c56a331a5ca3aafdafc86e67
parent0df8d006f641bc86f2883e28c8d96fbdcfc59bd9 (diff)
downloadports-42758da17ebd03d53b0b28ccdf43932fcfde1cce.tar.gz
ports-42758da17ebd03d53b0b28ccdf43932fcfde1cce.zip
devel/gcc-msp430-ti-toolchain: Fix build on 14
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--devel/gcc-msp430-ti-toolchain/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/gcc-msp430-ti-toolchain/Makefile b/devel/gcc-msp430-ti-toolchain/Makefile
index 51081d9c1a87..96dfc543e903 100644
--- a/devel/gcc-msp430-ti-toolchain/Makefile
+++ b/devel/gcc-msp430-ti-toolchain/Makefile
@@ -97,6 +97,10 @@ CONFIGURE_ARGS_COMMON= --prefix=${INTERIM_PREFIX} \
CFLAGS+= -Wno-error=int-conversion
.endif
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+USE_GCC= yes:build
+.endif
+
pre-patch:
@${ECHO_MSG} "===> Apply distribution patches..."
@${ECHO_MSG} "====> Patch gcc"