aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qt23
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-03-11 01:06:18 +0800
committerwill <will@FreeBSD.org>2001-03-11 01:06:18 +0800
commitc0b0be5403ab2b642132b6e73ca0a730aeadd9ce (patch)
treeca268e5d261f13ac61b80efffbfd3f94c99ccb0a /x11-toolkits/qt23
parentce6711ac0d32fbe0f75903ac6d45dac301fc19d4 (diff)
downloadfreebsd-ports-gnome-c0b0be5403ab2b642132b6e73ca0a730aeadd9ce.tar.gz
freebsd-ports-gnome-c0b0be5403ab2b642132b6e73ca0a730aeadd9ce.tar.zst
freebsd-ports-gnome-c0b0be5403ab2b642132b6e73ca0a730aeadd9ce.zip
Fix build for alpha.
Found/Confirmed by: steve Fix submitted by: gallatin
Diffstat (limited to 'x11-toolkits/qt23')
-rw-r--r--x11-toolkits/qt23/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/qt23/Makefile b/x11-toolkits/qt23/Makefile
index 894ac26c5603..7d1e5e4ea966 100644
--- a/x11-toolkits/qt23/Makefile
+++ b/x11-toolkits/qt23/Makefile
@@ -48,6 +48,12 @@ STATIC=shared
INSTALLS_SHLIB=yes
.endif
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
pre-fetch:
.if exists(${X11BASE}/lib/libqt2.so.3)
.if !defined(WANT_STATIC)
@@ -124,4 +130,4 @@ post-install:
.endif
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>