mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
math/lean4: Fix build on 14
PR: 295703 Reported by: Chad Jacob Milios <milios@ccsys.com>
This commit is contained in:
+7
-1
@@ -37,12 +37,18 @@ CMAKE_OFF= USE_MIMALLOC \
|
||||
#MAKE_ARGS+= V=1 VERBOSE=1
|
||||
MAKE_ENV= LD_LIBRARY_PATH=${BUILD_WRKSRC}/stage0/lib/lean
|
||||
|
||||
BINARY_ALIAS= make=${GMAKE} python=${PYTHON_CMD}
|
||||
BINARY_ALIAS= make=${GMAKE} \
|
||||
python=${PYTHON_CMD}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CMAKE_ARGS+= -DLEANTAR=${LOCALBASE}/bin/leantar
|
||||
|
||||
# fails to build on 14 w/out this:
|
||||
.if ${OSREL:R} <= 14
|
||||
BINARY_ALIAS+= ar=llvm-ar
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "Please note that build Lean requires /proc to be mounted."
|
||||
|
||||
Reference in New Issue
Block a user