summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-07-04 20:46:16 +0000
committerSteve Price <steve@FreeBSD.org>1999-07-04 20:46:16 +0000
commit0d8b8738b473cf1829999e3dca7a8a2a12564285 (patch)
tree8b7b2274627a44c2914abd548ffcbe211ecc6cb5 /x11-toolkits
parentUpgrade to 3.13. (diff)
Turn off optimization in order to workaround a bug in egcs on FreeBSD/Alpha.
Notes
Notes: svn path=/head/; revision=20005
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Xaw3d/Makefile9
1 files changed, 8 insertions, 1 deletions
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