From 72c100531bda3f5bd0696cc365edf04e24a97a86 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Fri, 2 Oct 2020 05:41:11 +0000 Subject: [PATCH] misc/py-xgboost: Broken on i386 on 11 and 12 Reported by: fallout --- misc/py-xgboost/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/py-xgboost/Makefile b/misc/py-xgboost/Makefile index ee2b26bf6ee1..0aeb0451e6c6 100644 --- a/misc/py-xgboost/Makefile +++ b/misc/py-xgboost/Makefile @@ -34,7 +34,13 @@ LDFLAGS+= -lexecinfo POST_PLIST= fix-plist +.include + +.if ${OSVERSION} < 1300060 +BROKEN_i386= undefined symbol: __atomic_load (on 11 and 12, but not on 13) +.endif + fix-plist: # https://github.com/dmlc/xgboost/issues/5705 @${REINPLACE_CMD} 's|/libxgboost.so$$|/xgboost/lib/libxgboost.so|' ${TMPPLIST} -.include +.include