From 0d8b8738b473cf1829999e3dca7a8a2a12564285 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 4 Jul 1999 20:46:16 +0000 Subject: Turn off optimization in order to workaround a bug in egcs on FreeBSD/Alpha. --- x11-toolkits/Xaw3d/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile index eb15b42c1b7e..77e2d6204463 100644 --- a/x11-toolkits/Xaw3d/Makefile +++ b/x11-toolkits/Xaw3d/Makefile @@ -3,7 +3,7 @@ # Date created: 18 November 1994 # Whom: asami # -# $Id: Makefile,v 1.20 1998/11/14 09:43:29 asami Exp $ +# $Id: Makefile,v 1.21 1999/01/05 06:55:19 asami Exp $ # DISTNAME= Xaw3d-1.5 @@ -22,6 +22,13 @@ post-extract: ${MKDIR} ${WRKSRC}/X11/Xaw3d cd ${WRKSRC}/X11/Xaw3d; ln -sf ../../*.h . +# Workaround a bug in egcs on FreeBSD/Alpha. +.if ${MACHINE_ARCH} == "alpha" +post-configure: + @(cd ${WRKSRC}; ${MV} Makefile Makefile.orig; ${SED} -e \ + 's/CDEBUGFLAGS = -O/CDEBUGFLAGS =/g' Makefile.orig > Makefile) +.endif + post-install: .if ${PORTOBJFORMAT} == "aout" ${LN} -sf libXaw3d.so.6.1 ${PREFIX}/lib/libXaw3d.so -- cgit v1.2.3