Turn off optimization in order to workaround a bug in egcs on FreeBSD/Alpha.

This commit is contained in:
Steve Price 1999-07-04 20:46:16 +00:00
parent 3e0b9dab52
commit 0d8b8738b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20005

View File

@ -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