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
This commit is contained in:
parent
7541c4c5e5
commit
c220263dc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138465
@ -90,6 +90,9 @@ MODOPT= camlp4o camlp4r ocamlc ocamldep ocamldoc ocamllex ocamlopt
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.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 | \
|
||||
|
Loading…
Reference in New Issue
Block a user