Fix build on amd64.
PR: ports/77638 Submitted by: Johan van Selst <johans@stack.nl>
This commit is contained in:
parent
171e0ec37b
commit
19d73f8b10
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129136
@ -24,10 +24,6 @@ MAN3= libjit.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
BROKEN= "Does not compile on amd64"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 502128
|
||||
@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
|
||||
@ -35,7 +31,7 @@ post-patch:
|
||||
.endif
|
||||
|
||||
post-configure:
|
||||
.if ${OSVERSION} >= 502123
|
||||
.if ${OSVERSION} >= 502123 && ${ARCH} != "amd64"
|
||||
@${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
|
||||
${WRKSRC}/libtool
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user