aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qtez
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-03-11 13:01:04 +0800
committersteve <steve@FreeBSD.org>2001-03-11 13:01:04 +0800
commitb6679516f174616a60f3cfbe7498793c18658a65 (patch)
treecf9ac5c315197e72e665895d86207c2c5a1b87d6 /devel/qtez
parent57156ba907e0997b744cb722c78a0aa0f5cab004 (diff)
downloadfreebsd-ports-graphics-b6679516f174616a60f3cfbe7498793c18658a65.tar.gz
freebsd-ports-graphics-b6679516f174616a60f3cfbe7498793c18658a65.tar.zst
freebsd-ports-graphics-b6679516f174616a60f3cfbe7498793c18658a65.zip
Use '-O0' when compiling on the Alpha to avoid internal compiler errors.
Diffstat (limited to 'devel/qtez')
-rw-r--r--devel/qtez/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/qtez/Makefile b/devel/qtez/Makefile
index 5aca4e046fb..690348437df 100644
--- a/devel/qtez/Makefile
+++ b/devel/qtez/Makefile
@@ -25,6 +25,12 @@ CONFIGURE_ENV= QTDIR="${X11BASE}" MOC="${X11BASE}/bin/moc2" \
CONFIGURE_ARGS= --disable-shared
MAKE_ENV= QTEZ="${X11BASE}/share/qtez"
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@find ${WRKSRC} -name "Makefile.am" | xargs ${PERL} -pi -e \
's|\@DEBUG\@|\@CXXFLAGS\@ \@DEBUG\@|g'
@@ -35,4 +41,4 @@ pre-configure:
post-install:
@${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>