1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

editors/openoffice-*: Unbreak build on 15.0-CURRENT

clang version 17.0.6 causes linker errors that break the build on
15.0-CURRENT.  Work around this by building with an older llvm from
ports.

PR:		275820
This commit is contained in:
Don Lewis 2023-12-18 00:52:02 -08:00
parent 682965a272
commit f25b169ac8
2 changed files with 16 additions and 0 deletions

View File

@ -198,6 +198,14 @@ TARGET_ORDER_OVERRIDE= 710:gnome-post-icons
WITH= SDK
.endif
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500005
# linker error when compiling with llvm 17.0.6 on CURRENT
USES+= llvm:max=16
CHOSEN_COMPILER_TYPE= clang
.endif
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( \

View File

@ -230,6 +230,14 @@ TARGET_ORDER_OVERRIDE= 710:gnome-post-icons
WITH= SDK
.endif
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500005
# linker error when compiling with llvm 17.0.6 on CURRENT
USES+= llvm:max=16
CHOSEN_COMPILER_TYPE= clang
.endif
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( \