aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-07-05 04:46:16 +0800
committersteve <steve@FreeBSD.org>1999-07-05 04:46:16 +0800
commit8de7b0ec87ad8c94e36691b04db22c6abb387f6b (patch)
treedca254907a4a19b888b07698204b343657baa06e /x11-toolkits
parent8a213832d6c978bd8c570a0a3d0717f4be770efc (diff)
downloadfreebsd-ports-gnome-8de7b0ec87ad8c94e36691b04db22c6abb387f6b.tar.gz
freebsd-ports-gnome-8de7b0ec87ad8c94e36691b04db22c6abb387f6b.tar.zst
freebsd-ports-gnome-8de7b0ec87ad8c94e36691b04db22c6abb387f6b.zip
Turn off optimization in order to workaround a bug in egcs on FreeBSD/Alpha.
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