1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Fix configure on sparc64 and alpha 5.x and unmark BROKEN on alpha.

PR:		ports/83517
Submitted by:	maintainer
This commit is contained in:
Dejan Lesjak 2005-07-15 18:50:55 +00:00
parent 300d368205
commit ca21d1c9b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139297

View File

@ -44,8 +44,18 @@ post-install:
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
BROKEN= "Does not configure on alpha 5.x"
.if ${ARCH} != "amd64" && ${ARCH} != "i386"
USE_REINPLACE= yes
post-patch:
# These architectures do not support "-minline-all-stringops"
@${REINPLACE_CMD} -e 's|-minline-all-stringops||g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.if ${ARCH} == "alpha"
# "-ffast-math" does not work on alpha
@${REINPLACE_CMD} -e 's|-ffast-math||g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
.endif
.endif
# Generator needs GCC 2.95.x or GCC >= 3.4.2 to work properly.