diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2005-07-15 18:50:09 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2005-07-15 18:50:09 +0000 |
commit | 300d3682053832cb0aa0badf1127ad605e9a5891 (patch) | |
tree | eca893154d47cd24223298c3c2ddeecc25b7db67 /emulators/generator | |
parent | Use updated patch. (diff) |
Fix configure on sparc64 and alpha 5.x and unmark BROKEN on alpha.
PR: ports/83516
Submitted by: maintainer
Diffstat (limited to 'emulators/generator')
-rw-r--r-- | emulators/generator/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile index 24a50c90bf39..e08a97958506 100644 --- a/emulators/generator/Makefile +++ b/emulators/generator/Makefile @@ -39,8 +39,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. |