misc/py-xgboost: Broken on i386 on 11 and 12

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2020-10-02 05:41:11 +00:00
parent bb59ea2995
commit 72c100531b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550899

View file

@ -34,7 +34,13 @@ LDFLAGS+= -lexecinfo
POST_PLIST= fix-plist
.include <bsd.port.pre.mk>
.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 <bsd.port.mk>
.include <bsd.port.post.mk>