mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
games/jaggedalliance2: extend 14.0+ build fix to all architectures
The fix seems to be needed on amd64 too, so apply it to all architectures just in case. Reported by: Martin Neubauer <m.ne@gmx.net> Approved by: portmgr (build fix blanket) PR: 275069, 274601 MFH: 2023Q4
This commit is contained in:
parent
a6cf96ba77
commit
e3aeb5c7a9
@ -159,6 +159,12 @@ CARGO_TEST= no
|
||||
MAKE_ENV= ${CARGO_ENV:NCARGO_TARGET_DIR=*}
|
||||
LDFLAGS+= -Wl,--as-needed
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1400000
|
||||
CXXFLAGS+= -Wno-error=enum-constexpr-conversion
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e 's|https://github.com/Neargye/magic_enum/archive/v0.7.3.zip|${DISTDIR}/Neargye-magic_enum-v0.7.3_GH0.tar.gz|' \
|
||||
-e 's|86338841251da1bacab82684a76c4042|fc20f4149a6d6a2caa8ff66f99dac7cf|' \
|
||||
@ -174,10 +180,4 @@ post-install:
|
||||
${STAGEDIR}${PREFIX}/bin/ja2-launcher \
|
||||
${STAGEDIR}${PREFIX}/bin/ja2-resource-pack
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1400000 && ${ARCH} == "i386"
|
||||
CXXFLAGS+= -Wno-error=enum-constexpr-conversion
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user