aboutsummaryrefslogtreecommitdiff
path: root/emulators/generator-cbiere
diff options
context:
space:
mode:
authorDejan Lesjak <lesi@FreeBSD.org>2005-07-15 18:50:55 +0000
committerDejan Lesjak <lesi@FreeBSD.org>2005-07-15 18:50:55 +0000
commitca21d1c9b6f416f7e2f3d15d12e7fe46b8b15184 (patch)
treef9d707bf536cbfe881e38516f6c0358a6cb31b53 /emulators/generator-cbiere
parent300d3682053832cb0aa0badf1127ad605e9a5891 (diff)
downloadports-ca21d1c9b6f416f7e2f3d15d12e7fe46b8b15184.tar.gz
ports-ca21d1c9b6f416f7e2f3d15d12e7fe46b8b15184.zip
Fix configure on sparc64 and alpha 5.x and unmark BROKEN on alpha.
PR: ports/83517 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=139297
Diffstat (limited to 'emulators/generator-cbiere')
-rw-r--r--emulators/generator-cbiere/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/emulators/generator-cbiere/Makefile b/emulators/generator-cbiere/Makefile
index 2ffdedd2bdbd..19388b655c9d 100644
--- a/emulators/generator-cbiere/Makefile
+++ b/emulators/generator-cbiere/Makefile
@@ -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.