mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
BROKEN on sparc64: Does not compile
Correct ARCH check for amd64.
This commit is contained in:
parent
d5fd227499
commit
2947194cb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103170
@ -35,11 +35,17 @@ HAVE_EMACS!= which emacs || echo nope
|
||||
PLIST= ${PKGDIR}/pkg-plist.emacs
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH:L} == "amd64"
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
CFLAGS+= -fPIC
|
||||
.endif
|
||||
|
||||
.if ${ARCH} == "sparc64"
|
||||
BROKEN= "Does not compile on sparc64"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O3|"${CFLAGS}"|' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user