summaryrefslogtreecommitdiff
path: root/devel/qtez
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-03-11 05:01:04 +0000
committerSteve Price <steve@FreeBSD.org>2001-03-11 05:01:04 +0000
commit0d5a0510ea42cb90289022a374b3bd9a01d411c3 (patch)
treea326bb0e8855087051ccc0f6dcae9cf4649144b4 /devel/qtez
parentUse '-O0' on the Alpha so this builds without internal compiler errors. (diff)
Use '-O0' when compiling on the Alpha to avoid internal compiler errors.
Notes
Notes: svn path=/head/; revision=39541
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 5aca4e046fbd..690348437df4 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>