From c220263dc0e2fdfccdd250325f65f8b1ebeb628b Mon Sep 17 00:00:00 2001 From: Mikhail Teterin Date: Mon, 4 Jul 2005 14:50:07 +0000 Subject: [PATCH] Don't try to fix compile flags on sparc64 and just mark the port broken on the platform -- ocamlc.opt keeps seg-faulting even with `-O0 -g' even on 5-stable. Patch(es) needed. Notified by: Peter van Dijk --- lang/ocaml/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index 68364eb1edbe..d191d17bda52 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -90,6 +90,9 @@ MODOPT= camlp4o camlp4r ocamlc ocamldep ocamldoc ocamllex ocamlopt .include +.if ${MACHINE_ARCH} == sparc64 +BROKEN= ocamlc.opt seg-faults on ${MACHINE_ARCH}, please try to fix +.endif PLIST_SUB+= PROF="" post-configure: @@ -99,9 +102,6 @@ post-configure: -e 's|(NATIVECCCOMPOPTS[[:space:]]*=.*)|\1 ${CFLAGS}|' \ -e 's|gcc|${CC}|g' \ ${WRKSRC}/config/Makefile -.if ${MACHINE_ARCH} == sparc64 - @${REINPLACE_CMD} -e 's,-O2,-O,g' ${WRKSRC}/config/Makefile -.endif # INSTALL* safeness (which preserves the correct permissions despite # user's umask(1) @${FIND} ${WRKDIR} -type f -name Makefile -print0 | \