Fix build on powerpc64
PR: 232509 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
parent
f4532ffb5a
commit
029e8b8981
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=483345
1 changed files with 8 additions and 1 deletions
|
@ -15,7 +15,14 @@ LICENSE= APACHE20
|
|||
USE_PYTHON= autoplist concurrent distutils
|
||||
USES= python
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64
|
||||
@${REINPLACE_CMD} -e '/pragma/d' ${WRKSRC}/c/cbormodule.c
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cbor/_cbor.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue